Skip to main content
Version: Next

LISTBOX Get number of columns

LISTBOX Get number of columns ( {* ;} object ) -> Function result

ParameterTypeDescription
*Operator🡒If specified, object is an object name (string) If omitted, object is a variable
objectForm object🡒Object name (if * is specified) or Variable (if * is omitted)
Function resultLongint🡐Number of columns

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