LISTBOX SET GRID
LISTBOX SET 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 = show, False = hide |
vertical | Boolean | → | True = show, False = hide |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The LISTBOX SET GRID command allows you to display or hide the horizontal and/or vertical grid lines that make up the grid in the list box object set using the object and * parameters.
If you pass the optional * parameter, you indicate that the object parameter is an object name (string). If you do not pass this parameter, you indicate that the object parameter is a variable. In this case, you pass a variable reference instead of a string. For more information about object names, refer to the Object Properties section.
Pass the Boolean values in horizontal and vertical that indicate if the corresponding grid lines should be displayed (True) or hidden (False). The grid is displayed by default.
See also
LISTBOX GET GRID
LISTBOX Get property
LISTBOX SET GRID COLOR