DELETE LISTBOX COLUMN

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


DELETE LISTBOX COLUMN ({*; }object; colPosition{; number})

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)
colPositionNumberColumn number to remove
numberNumberNumber of columns to be removed

Description

The DELETE LISTBOX COLUMN command removes one or more columns (visible or invisible) in the list box set in the object et * 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 about object names, refer to the Object Properties section.

If you do not pass the optional number parameter, the command simply removes the column set in the colPosition parameter.

Otherwise, the number parameter indicates the number of columns to remove to the right starting from the column colPosition (this one included).

If the colPosition parameter is greater than the number of columns in the list box, the command does nothing.

See Also

Get number of listbox columns, INSERT LISTBOX COLUMN.


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