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

TToolButtonActionLink

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

TToolButtonActionLink - links a ToolButton on the ToolBar to an Action on an ActionList

Declaration

Source position: comctrls.pp line 1511

type TToolButtonActionLink = class(TControlActionLink)

protected

  procedure AssignClient(); override;

  

AssignClient calls inherited method then sets client as ToolButton

  procedure SetChecked(); override;

  

SetChecked - stores the Checked status (True or False)

  procedure SetImageIndex(); override;

  

SetImageIndex - stores the index value of the associated image

public

  function IsCheckedLinked; override;

  

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

  function IsImageIndexLinked; override;

  

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

end;

Inheritance

TToolButtonActionLink

  

TToolButtonActionLink - links a ToolButton on the ToolBar to an Action on an ActionList

|

TControlActionLink

  

TControlActionLink - links the current control to an action

|

TActionLink

  

A link between an action and a client class

|

TBasicActionLink

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.