Sign in Join
FPDoc Onlineexperiment

TMenu.MenuChanged procedure

Member of TMenuprotectedIn unit Menus

Implements the OnChange event handler assigned to menu items in the menu.

Declaration

pascal
procedure MenuChanged(Sender: TObject; Source: TMenuItem; 
 Rebuild: Boolean); virtual

Arguments

Sender

Object for the event notification.

Source

Menu item for the change notification.

RebuildTrue to rebuild the visible child menu items in Source.

Description

Calls the DoChange method using Source and Rebuild as arguments. No actions are performed in the method during LCL component streaming, or when the component is being freed.

See also

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