Sets the order for the menu item specified in Child.
Source position: menus.pp line 391
protected procedure TMenu.SetChildOrder( |
Child: TComponent; |
Order: Integer |
); override; |
SetChildOrder is an overridden method used to set the order for the specified child in the menu instance. It ensures that the value in Child is cast to a TMenuItem instance before assigning the value in Order to its MenuIndex property.
|
Contains the menu items displayed on the menu. |
|
|
Ordinal position for the menu item in its Parent. |
|
TComponent |