Goto Column - GRID SENDMSG() Function 47

Syntax

COLUMN$=SENDMSG(sysgui,id,47,column,$${,context{,ERR=lineref}})

Description

This function sets the column specified in column as the current column. Normally this function should not be used if row highlighting is enabled.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

47

Number of this SENDMSG() function.

column

Column number. (Column numbering is zero-based). If the column exists and is not currently visible, it is scrolled into view.

$$

Always null.

The return value is a binary representation and is determined by the following conditions:

  • If the column does not exist, the current column is returned.

  • If the column exists and cell highlighting is enabled (the default), the new current column is returned.

  • If the column exists and row highlighting is enabled, the left-most visible column is returned.

Use DEC(COLUMN$) to retrieve the numeric value.

See Also


Set Cell/Row Highlight - Grid SENDMSG() Function 49

BBjGrid::setSelectedColumn