Skip to main content
Version: Next

QR GET SELECTION

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

ParameterTypeDescription
areaLongint🡒Reference of the area
leftLongint🡘Left boundary
topLongint🡘Top boundary
rightLongint🡘Right boundary
bottomLongint🡘Bottom 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