SET LISTBOX COLUMN WIDTH

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004


SET LISTBOX COLUMN WIDTH ({*; }object; width)

ParameterTypeDescription
*If specified, object is an object name (string)
If omitted, object is a variable
objectForm objectObject name (if * is specified) or
Variable (if * is omitted)
widthIntegerColumn 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

Get listbox column width.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next