This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
LISTBOX SET GRID COLOR
|
LISTBOX SET GRID COLOR ( {* ;} object ; color ; horizontal ; vertical ) | ||||||||
Parameter | Type | Description | ||||||
* | Operator |
![]() |
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 | Text, Longint |
![]() |
RGB color value | |||||
horizontal | Boolean |
![]() |
Use color for horizontal grid lines | |||||
vertical | Boolean |
![]() |
Use color for vertical grid lines | |||||
The LISTBOX SET 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 pass a variable reference instead of a string. 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 OBJECT SET RGB COLORS command.
The horizontal and vertical parameters allow you to set the grid lines to which you will apply a color:
LISTBOX GET GRID COLORS
LISTBOX SET GRID
OBJECT SET RGB COLORS
Product: 4D
Theme: List Box
Number:
842
Created: 4D 2004
Renamed: 4D v12 (SET LISTBOX GRID COLOR)
4D Language Reference ( 4D v20 R7)