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

TSpeedButtonActionLink.IsImageIndexLinked

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

Declaration

Source position: buttons.pp line 317

public function TSpeedButtonActionLink.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

TSpeedButtonActionLink.SetImageIndex

  

Sets the image index in the control for the action link when enabled.

TBasicActionLink.Action


Version 4.0 Generated 2025-05-03 Home