MOVED LISTBOX ROW NUMBER

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11.2 (Modified)


MOVED LISTBOX ROW NUMBER ({*; }object; oldPosition; newPosition)

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)
oldPositionNumberPrevious position of the moved row
newPositionNumberNew position of the moved row

Description

The MOVED LISTBOX ROW NUMBER command returns two numbers in oldPosition and newPosition indicating respectively the previous position and the new position of the row moved in list box, specified by 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.

This command must be used with the form event On row moved (see the Form event command).

Note: This command does not take into account any hidden/displayed states of list box rows.

See Also

Form event, MOVED LISTBOX COLUMN NUMBER.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next