[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Set the order for the specified child (Action).
Source position: actnlist.pas line 97
protected procedure TCustomActionList.SetChildOrder( |
Component: TComponent; |
Order: Integer |
); override; |
Component |
|
Child component (action) re-order in the method. |
Order |
|
New position in the Actions list. |
SetChildOrder is an overridden method in TCustomActionList. It sets the ordinal position for the action in Component to the value specified in Order. The IndexOf method in Actions is called to get the current position for Component. The value in Order is assigned to the Index property in the TContainedAction when it exists in Actions. No actions are performed in the method when Component is not stored in the Actions for the action list.
|
Provides indexed access to actions in the list by their ordinal position. |
|
|
Ordinal position for the action in ActionList. |
|
Version 4.0 | Generated 2025-05-03 | Home |