Skip to main content
Version: 20 R7 BETA

QR GET SELECTION

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

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

This command is not thread-safe, it cannot be used in preemptive code.

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