Get Selected Column - GRID SENDMSG() Function 44

Syntax

COLUMN$=SENDMSG(sysgui,id,44,0,$${,context{,ERR=lineref}})

Description

This function returns the number of the currently selected column. (Column numbering is zero-based.)

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

44

Number of this SENDMSG() function.

0

Always zero.

$$

Always null.

The return value is a binary representation. Use DEC(COLUMN$) to get the numeric representation.

If row highlighting is enabled instead of the default of cell highlighting, this function returns the number of the column shown at the left side of the grid. Note that column numbering is zero-based.

See Also:

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

BBjGrid::getSelectedColumns