4D v14.3

LISTBOX MOVED ROW NUMBER

Home

 
4D v14.3
LISTBOX MOVED ROW NUMBER

LISTBOX MOVED ROW NUMBER 


 

LISTBOX MOVED ROW NUMBER ( {* ;} object ; oldPosition ; newPosition ) 
Parameter Type   Description
Operator in If specified, object is an object name (string) If omitted, object is a variable
object  Form object in Object name (if * is specified) or Variable (if * is omitted)
oldPosition  Longint in Previous position of the moved row
newPosition  Longint in New position of the moved row

The LISTBOX MOVED ROW NUMBER command returns two numbers in oldPosition and newPosition indicating respectively the previous position and the new position of the row moved in the list box, specified by the object and * parameters.

Note: You can only move rows in array type list boxes.

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.

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.

 
PROPERTIES 

Product: 4D
Theme: List Box
Number: 837

 
HISTORY 

Modified: 4D v11 SQL Release 2
Renamed: 4D v12

 
SEE ALSO 

Form event
LISTBOX MOVED COLUMN NUMBER

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : MOVED LISTBOX ROW NUMBER ( 4D v11 SQL Release 6)