TMenuActionLink class
TMenuActionLink: defines the link between a selected menu item and
its corresponding action.Declaration
TMenuActionLink = class(TActionLink)Inheritance
- TMenuActionLink
- TActionLink
- TBasicActionLink
- 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
AssignClient | protected | Stores the specified value as the client for the linked action. |
IsAutoCheckLinked | protected | Determines if the menu item and action have the same value in their AutoCheck properties. |
IsOnExecuteLinked | protected | Indicates if the OnExecute event handler in the action is linked to a menu item. |
SetAutoCheck | protected | Updates the AutoCheck property in the linked menu item. |
SetCaption | protected | Updates the Caption property in the linked menu item. |
SetChecked | protected | Sets the value for the Checked property in the linked menu item. |
SetEnabled | protected | Sets the value for the Enabled property in the linked menu item. |
SetHelpContext | protected | Sets the value for the HelpContext property in the linked menu item. |
SetHint | protected | Sets the Hint property in the linked menu item. |
SetImageIndex | protected | Sets the value for the ImageIndex property in the linked menu item. |
SetShortCut | protected | Sets the value for the ShortCut property in the linked menu item. |
SetVisible | protected | Sets the value in the Visible property for the linked menu item. |
SetOnExecute | protected | Not used in the current LCL implementation. |
IsCaptionLinked | public | Is the action's Caption linked to the client? |
IsCheckedLinked | public | Is the action's Checked property linked to the client? |
IsEnabledLinked | public | Is the action's Enabled property linked to the client? |
IsHelpContextLinked | public | Is the action's HelpContext property linked to the client? |
IsHintLinked | public | Is the action's Hint property linked to the client? |
IsGroupIndexLinked | public | Is the action's GroupIndex property linked to the client? |
IsImageIndexLinked | public | Indicates if the action's ImageIndex property linked to the client. |
IsShortCutLinked | public | Is the action's ShortCut property linked to the client? |
IsVisibleLinked | public | Is the action's Visible property linked to the client? |
Fields
FClient | protected | Stored a reference to the menu item for the link. |
Inherited
From TActionLink (5)
IsHelpLinked SetGroupIndex SetHelpKeyword SetHelpType Update
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.
