Sign in Join
FPDoc Onlineexperiment

TMenuItem.DoClicked procedure

Member of TMenuItemprotectedIn unit Menus

DoClicked- process the system message signifying that a click has occurred over this menu item.

Declaration

pascal
procedure DoClicked(var msg); message

Arguments

msg

Message handled in the method.

Description

At run-time, DoClicked calls InitiateAction to update the actions for each of the Items in the class instance, and calls Click to execute the menu item.

At design-time, the Click event is intercepted by the design surface for the IDE.

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