[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'ActnList' (#lcl)

TActionLink

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A link between an action and a client class.

Declaration

Source position: actnlist.pas line 250

type TActionLink = class(TBasicActionLink)

protected

  procedure SetAutoCheck(); virtual;

  

SetAutoCheck - specifies the value of AutoCheck, whether True or False.

  procedure SetCaption(); virtual;

  

SetCaption - specifies the string to be used as caption.

  procedure SetChecked(); virtual;

  

SetChecked - specifies the value of the Checked property: True or False.

  procedure SetEnabled(); virtual;

  

SetEnabled - specifies the value of the Enabled property: True or False.

  procedure SetGroupIndex(); virtual;

  

SetGroupIndex - specifies the value for the Group Index.

  procedure SetHelpContext(); virtual;

  

SetHelpContext - specifies the value to be used for context-sensitive Help.

  procedure SetHelpKeyword(); virtual;

  

SetHelpKeyword - specifies the keyword to be used for Help.

  procedure SetHelpType(); virtual;

  

SetHelpType - specifies the type of Help to be used.

  procedure SetHint(); virtual;

  

SetHint - specifies the string to be used for Hints.

  procedure SetImageIndex(); virtual;

  

SetImageIndex - specifies the index value for the image associated with the action.

  procedure SetShortCut(); virtual;

  

SetShortCut - specifies the shortcut for the action.

  procedure SetVisible(); virtual;

  

SetVisible - specifies whether or not the control for the action is Visible.

public

  function IsCaptionLinked; virtual;

  

Is the action's Caption linked to the client?

  function IsCheckedLinked; virtual;

  

Is the action's Checked property linked to the client?

  function IsEnabledLinked; virtual;

  

Is the action's Enabled property linked to the client?

  function IsGroupIndexLinked; virtual;

  

Is the action's GroupIndex property linked to the client?

  function IsHelpContextLinked; virtual;

  

Is the action's HelpContext property linked to the client?

  function IsHelpLinked; virtual;

  

Is the action's Help property linked to the client?

  function IsHintLinked; virtual;

  

Is the action's Hint property linked to the client?

  function IsImageIndexLinked; virtual;

  

Indicates if the action's ImageIndex property linked to the client.

  function IsShortCutLinked; virtual;

  

Is the action's ShortCut property linked to the client?

  function IsVisibleLinked; virtual;

  

Is the action's Visible property linked to the client?

end;

Inheritance

TActionLink

  

A link between an action and a client class.

|

TBasicActionLink

?

TObject

Description

The class definition includes a number of protected procedures for setting properties for the action (as defined in TCustomAction), and a number of public boolean functions to indicate which part of the action is linked to the client.