Get Selected Row - GRID SENDMSG() Function 45

Syntax

ROW$=SENDMSG(sysgui,id,45,0,$${,context{,ERR=lineref}})

Description

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

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

45

Number of this SENDMSG() function.

0

Always zero.

$$

Always null.

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

See Also

BBjGrid::getSelectedRows