version 2004
SET LISTBOX COLUMN WIDTH ({*; }object; width)
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) | |||
width | Integer | Column width (in pixels) |
Description
The SET LISTBOX COLUMN WIDTH command allows you to modify through programming the width of one or all column(s) of the object (list box, column or header) set using the object and * parameters.
If you pass the optional * parameter, you indicate that the object parameter is an object name (a string). If you do not pass this paraemter, 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 about object names, refer to the Object Properties section.
Pass the new width (in pixels) of the object in the width parameter.
If object sets the list box object, all columns of the list box are resized.
If object sets a column or a column header, only the column set is resized.
See Also