Skip to main content
Version: Next

QR GET SELECTION

QR GET SELECTION ( area ; left ; top {; right {; bottom}} )

ParameterTypeDescription
areaIntegerReference of the area
leftIntegerLeft boundary
topIntegerTop boundary
rightIntegerRight boundary
bottomIntegerBottom boundary

Description

The QR GET SELECTION command returns the coordinates of the cell that is selected.

left returns the number of the column that is the left boundary of the selection. If left equals 0, the entire row is selected.

top returns the number of the row that is the top boundary of the selection. If top equals 0, the entire column is selected.

Note: If both left and top equal 0, the entire area is highlighted.

right is the number of the column that is the right boundary of the selection.

bottom is the number of the row that is the top boundary of the selection.

Note: If there is no selection, left, top, right and bottom are set to -1.

If you pass an invalid area number, the error -9850 will be generated.

See also

QR SET SELECTION

Properties

Command number793
Thread safe
Modifies variableserror