This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
LISTBOX GET GRID COLORS

LISTBOX GET GRID COLORS 


 

LISTBOX GET GRID COLORS ( {* ;} object ; hColor ; vColor ) 
Parameter Type   Description
Operator in If specified, object is an object name (string)
If omitted, object is a variable
object  Form object in Object name (if * is specified) or
Variable (if * is omitted)
hColor  Text, Longint in Value of RGB color for horizontal lines
vColor  Text, Longint in Value of RGB color for vertical lines

The LISTBOX GET GRID COLORS command returns the color of the horizontal and 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 hColor and vColor, the command returns the values of the RGB colors. The color format depends on the type of the parameter you passed in hColor and vColor:

  • if you passed a text, the color will be expressed as a CSS text (format "#rrggbb")
  • if you passed a longint, the color will be expressed as a 4-byte Long Integer (format 0x00rrggbb).



See also 

LISTBOX SET GRID COLOR

 
PROPERTIES 

Product: 4D
Theme: List Box
Number: 1200

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v13
Modified: 4D v17 R6

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)