QR SET SELECTION
QR SET 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 |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The QR SET SELECTION command highlights a cell, a row, a column or the entire area as you would with a mouse click. It also lets you deselect the current selection.
left is the number of the left boundary. If left is 0, the entire row is selected.
top is the number of the top boundary. If top is 0, the entire column is selected.
right is the number of the right boundary.
bottom is the number of the bottom boundary.
Notes:
- If both left and top are 0, the entire area is highlighted.
- If you want no selection, pass -1 to left, right, top and bottom.
If you pass an invalid area number, the error -9850 will be generated.