LISTBOX MOVED COLUMN NUMBER
LISTBOX MOVED COLUMN NUMBER ( {* ;} object ; oldPosition ; newPosition )
Parameter | Type | Description | |
---|---|---|---|
* | Operator | → | If specified, object is an object name (string) If omitted, object is a variable |
object | any | → | Object name (if * is specified) or Variable (if * is omitted) |
oldPosition | Integer | ← | Previous position of the moved column |
newPosition | Integer | ← | New position of the moved column |
Description
The LISTBOX MOVED COLUMN NUMBER command returns two numbers in oldPosition and newPosition indicating respectively the previous position and the new position of the column moved in the 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 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 Column Moved (see the Form event code command).
Note: This command takes invisible columns into account.
See also
Form event code
LISTBOX MOVED ROW NUMBER
Properties
Command number | 844 |
Thread safe | ✗ |