version 2004
Get number of listbox columns ({*; }object) Longint
Parameter | Type | Description | |
* | If specified, object is an object name (string) | ||
If omitted, object is a variable | |||
object | Form object | Object name (if * is specified) or | |
Variable (if * is omitted) | |||
Function result | Longint | Number of columns |
Description
The Get number of listbox 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 do not pass a string, but a variable reference. For more information on object names, refer to the Object Properties section.
See Also