GridSetSelection

GridSetSelection selects all specified cells in the data browser.

bool = GridSetSelection()
bool = GridSetSelection(rmSelection)

Return Value

bool is TRUE (1) if the function could set the selection and otherwise FALSE (0).

Parameters

rmSelection

rmSelection is matrix with four columns.

Each matrix row contains one selection range: Col1: First selected column, Col2: First selected row, Col3: Last selected column, Col4: Last selected row. Column and row numbering starts with 1.

If invoked without the rmSelection parameter, the selection will be removed.

Comment

All functions starting with Grid access the data browser. If the browser dialog isn’t open, these functions return an invalid value.

id-856514