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.