QR GET SELECTION
QR GET SELECTION ( area ; left ; top {; right {; bottom}} )
Parameter | Type | Description | |
---|---|---|---|
area | Integer | → | Reference of the area |
left | Integer | ← | Left boundary |
top | Integer | ← | Top boundary |
right | Integer | ← | Right boundary |
bottom | Integer | ← | 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
Properties
Command number | 793 |
Thread safe | ✗ |
Modifies variables | error |