DELETE LISTBOX ROW

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 ROW ({*; }object; position)

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)
positionLongintPosition of the row to delete

Description

The DELETE LISTBOX ROW command deletes the row number position (visible or not) from 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 about object names, refer to the Object Properties section.

Keep in mind that after command execution, there will no longer be any element selected in the list box.

The position row is automatically removed from all the arrays used by the list box columns.

If the position value is higher than the total number of rows in the list box, the command does nothing.

See Also

Get number of listbox rows, INSERT LISTBOX ROW.


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