DoSetOrderingDirection - DataList_
Sets the reverse ordering property (pbReverseOrdering) and visually reverses the order of an active non-batch dbGrid or dbList
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| bReverse | Integer | If true ordering should be reversed, if false it should not |
Syntax
Procedure DoSetOrderingDirection Integer bReverse
Call Example
Send DoSetOrderingDirection bReverse
Description
The DoSetOrderingDirection message is used to set the reverse ordering property (pbReverseOrdering) and to visually reverse the order of an active non-batch dbGrid or dbList.
The following example creates a button that reverses the ordering of a dbList:
Object oReverse is a button
Set location to 100 100
Set Label to "Reverse Order"
Procedure OnClick
Send DoSetOrderingDirection of oSelList (not(pbReverseOrdering(oSelList)))
End_procedure
End_object
This message should not be sent to batch lists.