[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TMenuActionLink: defines the link between a selected menu item and its corresponding action.
Source position: menus.pp line 65
type TMenuActionLink = class(TActionLink) |
||
protected |
||
|
Stored a reference to the menu item for the link. |
|
procedure AssignClient(); override; |
|
|
function IsAutoCheckLinked; virtual; |
|
Determines if the menu item and action have the same value in their AutoCheck properties. |
function IsOnExecuteLinked; override; |
|
Indicates if the OnExecute event handler in the action is linked to a menu item. |
procedure SetAutoCheck(); override; |
|
SetAutoCheck - specifies whether AutoCheck is to apply. |
procedure SetCaption(); override; |
|
SetCaption - specifies the caption for the linked MenuItem. |
procedure SetChecked(); override; |
|
SetChecked - specifies whether the Item is checked. |
procedure SetEnabled(); override; |
|
SetEnabled - specifies whether the action is enabled. |
procedure SetHelpContext(); override; |
|
SetHelpContext - specifies the Help context. |
procedure SetHint(); override; |
|
Sets the Hint text for the linked menu action. |
procedure SetImageIndex(); override; |
|
Sets the index for the image associated with the linked menu action. |
procedure SetShortCut(); override; |
|
Sets the ShortCut or accelerator key for the linked menu action. |
procedure SetVisible(); override; |
|
Sets the value in Visible for the menu item when the client and the action are linked. |
procedure SetOnExecute(); override; |
|
Not used in the current LCL implementation. |
public |
||
function IsCaptionLinked; override; |
|
Is the action's Caption linked to the client? |
function IsCheckedLinked; override; |
|
Is the action's Checked property linked to the client? |
function IsEnabledLinked; override; |
|
Is the action's Enabled property linked to the client? |
function IsHelpContextLinked; override; |
|
Is the action's HelpContext property linked to the client? |
function IsHintLinked; override; |
|
Is the action's Hint property linked to the client? |
function IsGroupIndexLinked; override; |
|
Is the action's GroupIndex property linked to the client? |
function IsImageIndexLinked; override; |
|
Indicates if the action's ImageIndex property linked to the client. |
function IsShortCutLinked; override; |
|
Is the action's ShortCut property linked to the client? |
function IsVisibleLinked; override; |
|
Is the action's Visible property linked to the client? |
end; |
|
TMenuActionLink: defines the link between a selected menu item and its corresponding action. |
|
| | ||
|
A link between an action and a client class. |
|
| | ||
TObject |
TMenuActionLink defines the link between a selected menu item and its corresponding action. Properties are protected and not readily accessible by application programmers.