Skip to main content
Version: Next

LISTBOX GET GRID

LISTBOX GET GRID ( {* ;} object ; horizontal ; vertical )

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)
horizontalBooleanTrue = shown, False = hidden
verticalBooleanTrue = shown, False = hidden

This command is not thread-safe, it cannot be used in preemptive code.

Description

The LISTBOX GET GRID command returns the shown/hidden status of the horizontal and/or 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 horizontal and vertical, the command returns the value True or False depending on whether the corresponding lines are shown (True) or hidden (False). By default, the grid is shown.

See also

LISTBOX SET GRID