Skip to main content
Version: Next

LISTBOX GET GRID COLORS

LISTBOX GET GRID COLORS ( {* ;} object ; hColor ; vColor )

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)If omitted, object is a variable
objectanyObject name (if * is specified) or Variable (if * is omitted)
hColorText, IntegerValue of RGB color for horizontal lines
vColorText, IntegerValue of RGB color for vertical lines

Description

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

Command number1200
Thread safe