LISTBOX Get column width
LISTBOX Get column width ( {* ;} object {; minWidth {; maxWidth}} ) : Integer
Parameter | Type | Description | |
---|---|---|---|
* | Operator | → | If specified, object is an object name (string) If omitted, object is a variable |
object | any | → | Object name (if * is specified) or Variable (if * is omitted) |
minWidth | Integer | ← | Minimum column width (in pixels) |
maxWidth | Integer | ← | Maximum column width (in pixels) |
Function result | Integer | ← | Column width (in pixels) |
Description
The LISTBOX Get column width command returns the width (in pixels) of the column set in the object and * parameters. You can pass either a list box column or a column header in the object parameter.
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 about object names, refer to the Object Properties section.
LISTBOX Get column width can return the resizing limits of the column in the minWidth and maxWidth parameters. These limits can be specified via the LISTBOX SET COLUMN WIDTH command.
If no minimum and/or maximum value has been set for the column, the corresponding parameter returns 0.
See also
Properties
Command number | 834 |
Thread safe | ✗ |