LISTBOX GET GRID
LISTBOX GET GRID ( {* ;} object ; horizontal ; vertical )
Parameter | Type | Description | |
---|---|---|---|
* | Operator | → | If specified, object is an object name (string)If omitted, object is a variable |
object | any | → | Object Name (if * is specified) or Variable (if * is omitted) |
horizontal | Boolean | ← | True = shown, False = hidden |
vertical | Boolean | ← | True = shown, False = hidden |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The LISTBOX GET GRID command returns the shown/hidden status of the horizontal and/or vertical lines making up the grid of the list box object designated by the object and * parameters.
If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable. In this case, you pass a variable reference instead of a string.
In horizontal and vertical, the command returns the value True or False depending on whether the corresponding lines are shown (True) or hidden (False). By default, the grid is shown.