Sign in Join
FPDoc Onlineexperiment

TMenuActionLink class

In unit Menus

TMenuActionLink: defines the link between a selected menu item and its corresponding action.

Declaration

pascal
TMenuActionLink = class(TActionLink)

Inheritance

  1. TMenuActionLink
  2. TActionLink
  3. TBasicActionLink
  4. TObject

Description

TMenuActionLink defines the link between a selected menu item and its corresponding action. Properties are protected and not readily accessible by application programmers.

Methods

AssignClientprotectedStores the specified value as the client for the linked action.
IsAutoCheckLinkedprotectedDetermines if the menu item and action have the same value in their AutoCheck properties.
IsOnExecuteLinkedprotectedIndicates if the OnExecute event handler in the action is linked to a menu item.
SetAutoCheckprotectedUpdates the AutoCheck property in the linked menu item.
SetCaptionprotectedUpdates the Caption property in the linked menu item.
SetCheckedprotectedSets the value for the Checked property in the linked menu item.
SetEnabledprotectedSets the value for the Enabled property in the linked menu item.
SetHelpContextprotectedSets the value for the HelpContext property in the linked menu item.
SetHintprotectedSets the Hint property in the linked menu item.
SetImageIndexprotectedSets the value for the ImageIndex property in the linked menu item.
SetShortCutprotectedSets the value for the ShortCut property in the linked menu item.
SetVisibleprotectedSets the value in the Visible property for the linked menu item.
SetOnExecuteprotectedNot used in the current LCL implementation.
IsCaptionLinkedpublicIs the action's Caption linked to the client?
IsCheckedLinkedpublicIs the action's Checked property linked to the client?
IsEnabledLinkedpublicIs the action's Enabled property linked to the client?
IsHelpContextLinkedpublicIs the action's HelpContext property linked to the client?
IsHintLinkedpublicIs the action's Hint property linked to the client?
IsGroupIndexLinkedpublicIs the action's GroupIndex property linked to the client?
IsImageIndexLinkedpublicIndicates if the action's ImageIndex property linked to the client.
IsShortCutLinkedpublicIs the action's ShortCut property linked to the client?
IsVisibleLinkedpublicIs the action's Visible property linked to the client?

Fields

FClientprotectedStored a reference to the menu item for the link.

Inherited

From TActionLink (5)

IsHelpLinked SetGroupIndex SetHelpKeyword SetHelpType Update

From TBasicActionLink (7)

Action Change Create Destroy Execute OnChange SetAction

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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