Skip to main content
Version: Next

LISTBOX Get number of columns

LISTBOX Get number of columns ( {* ;} object ) : Integer

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)
Function resultIntegerNumber of columns

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

Description

The LISTBOX Get number of columns command returns the total number of columns (visible or invisible) present in the list box set in the object and * parameters.

If you pass the optional * parameter, you indicate that the object parameter is an object name (string). If you do not pass this parameter, you indicate that the object parameter is a variable. In this case, you pass a variable reference instead of a string. For more information on object names, refer to the Object Properties section.

See also

LISTBOX DELETE COLUMN