This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
LISTBOX DELETE ROWS
|
LISTBOX DELETE ROWS ( {* ;} object ; rowPosition {; numRows} ) | ||||||||
Parameter | Type | Description | ||||||
* | Operator |
![]() |
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) | |||||
rowPosition | Longint |
![]() |
Position of the row to delete | |||||
numRows | Longint |
![]() |
Number of rows to delete | |||||
The LISTBOX DELETE ROWS command deletes one or several row(s) starting at rowPosition row (visible or not) from the list box set in the object and * parameters.
Note: This command only works with list boxes based on arrays. When this command is used with a list box based on a selection, it does nothing and the OK system variable is set to 0.
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.
Keep in mind that after command execution, there will no longer be any element selected in the list box.
The rowPosition row is automatically removed from all the arrays used by the list box columns.
If the rowPosition value is higher than the total number of rows in the list box, or if it is less than 1, the command does nothing.
Note: This command does not take into account any hidden/displayed states of list box rows.
Product: 4D
Theme: List Box
Number:
914
Created: 4D 2004
Renamed: 4D v12 (DELETE LISTBOX ROW)
Modified: 4D v13
Renamed: 4D v13 (DELETE LISTBOX ROW)
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)