GridGetSelectedCols

GridGetSelectedCols retrieves the starting and ending columns of the current selection in the data browser dialog box.

rvSelCols = GridGetSelectedCols()

Return Value

rvSelCols is a vector with two elements: [FirstCol, LastCol]. Column numbering starts with 1. In case of an error the function returns -1.

Comment

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

id-1669938