Goto Row - GRID SENDMSG() Function 48

Syntax

ROW$=SENDMSG(sysgui,id,48,row,$${,context{,ERR=lineref}})

Description

This function sets the row specified in row as the current row.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

48

Number of this SENDMSG() function.

row

Row number. (Row numbering is zero-based).

$$

Always null.

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

  • If the row exists and is not currently visible, it will be scrolled into view.
  • If the row exists, the binary representation of the new current row is returned.
  • If the row parameter is greater than the current number of rows in the grid, the binary representation of the number of the last row is returned.

Use DEC(ROW$) to get the numeric representation.

See Also

BBjGrid::setSelectedRow