Sign in Join
FPDoc Onlineexperiment

TMenu.SetChildOrder procedure

Member of TMenuprotectedIn unit Menus

Sets the order for the menu item specified in Child.

Declaration

pascal
procedure SetChildOrder(Child: TComponent; Order: Integer); override

Description

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.