version 2004
SET LISTBOX GRID COLOR ({*; }object; color; horizontal; vertical)
Parameter | Type | Description | |
* | If specified, object is an object name (string) | ||
If omitted, object is a variable | |||
object | Form object | Object name (if * is specified) or | |
Variable (if * is omitted) | |||
color | Number | RGB color value | |
horizontal | Boolean | Use color for horizontal grid lines | |
vertical | Boolean | Use color for vertical grid lines |
Description
The SET LISTBOX GRID COLOR command allows you to modify the color of 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 do not pass a string, but a variable reference. For more information about object names, refer to the Object Properties section.
Pass the RGB color value in color. For more information on RGB colors, refer to the description of the SET RGB COLORS command.
The horizontal and vertical parameters allow you to set the grid lines to which you will apply a color:
If you pass True in horizontal, the color will be applied to horizontal grid lines. If you pass False, their color is not changed.
If you pass True in vertical, the color will be applied to vertical grid lines. If you pass False, their color is not changed.
See Also
SET RGB COLORS, SHOW LISTBOX GRID.