Sign in Join
FPDoc Onlineexperiment

TSpeedButtonActionLink.SetImageIndex procedure

Member of TSpeedButtonActionLinkprotectedIn unit Buttons

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

Declaration

pascal
procedure SetImageIndex(Value: Integer); override

Arguments

Value

Ordinal position for the image selected in the speed button control.

Description

SetImageIndex is an overridden method used to change the selected image in the associated TSpeedButton control for the action link. SetImageIndex uses the value from IsImageIndexLinked to determine if the image can be changed by the action link. When IsImageIndexLinked returns False, no actions are performed in the method.

SetImageIndex accesses the internal TSpeedButton control for the action link, and sets its ImageIndex property to the ordinal position specified in Value.

See also

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