Sign in Join
FPDoc Onlineexperiment

TSpeedButtonActionLink.IsImageIndexLinked function

Member of TSpeedButtonActionLinkpublicIn unit Buttons

Determines whether the action link can update the image index for the associated control.

Declaration

pascal
function IsImageIndexLinked: Boolean; override

Function result

Returns True when the action is can update the image in the associated control.

Description

IsImageIndexLinked is an overridden Boolean function used to determine if the Action Link can update the image in its associated TSpeedButton control. The return value is True when the Action is derived from TCustomAction and the ImageIndex values in the TSpeedButton and the Action currently have the same values.

IsImageIndexLinked is called from the SetImageIndex method before updating the value in the ImageIndex for the TSpeedButton control.

See also

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