Sign in Join
FPDoc Onlineexperiment

TMenuItem.ActionLink property

Member of TMenuItemprotectedIn unit Menus

Contains the link to the Action for the menu item.

Declaration

pascal
property ActionLink: TMenuActionLink read FActionLink write FActionLink;

Description

ActionLink is a TMenuActionLink property which maintains an association between the control and an assigned Action. ActionLink is unassigned (Nil) until a value is assigned to the Action property. ActionLink is (re-)created and assigned when the value is stored in Action. It is used (when assigned) to read the value for the Action property.

ActionLink is used in the Click method to determine whether the OnClick event handler is signalled for the control, or whether the Execute method in Action is called.

See also

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