Skip to main content
Version: Next

LISTBOX GET GRID COLORS

LISTBOX GET GRID COLORS ( * ; object : Text ; hColor : Text, Integer ; vColor : Text, Integer )
LISTBOX GET GRID COLORS ( object : Variable ; hColor : Text, Integer ; vColor : Text, Integer )

ParameterTypeDescription
*Operator→If specified, object is an object name (string)If omitted, object is a variable
objectText, Variable→Form object name (if * is specified) or Variable (if * is omitted)
hColorText, Integer←Value of RGB color for horizontal lines
vColorText, Integer←Value of RGB color for vertical lines
History
ReleaseChanges
17 R6Modified
13Created

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 safeno