API:Vcl.Buttons.TBitBtnActionLink.SetImageIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetImageIndex(Value: Integer); override;

C++

virtual void __fastcall SetImageIndex(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Buttons.pas
Vcl.Buttons.hpp
Vcl.Buttons TBitBtnActionLink

Description

Introduces an interface for setting the ImageIndex for a client of the action link.

Vcl.Buttons.TBitBtnActionLink.SetImageIndex inherits from System.Actions.TContainedActionLink.SetImageIndex. All content below this line refers to System.Actions.TContainedActionLink.SetImageIndex.

Introduces an interface for setting the ImageIndex for a client of the action link.

Value specifies the new value of the ImageIndex property.

The associated action calls SetImageIndex when its ImageIndex property changes so that the action link can propagate the new Value to the ImageIndex property of the client object of the action link.

As implemented in TContainedActionLink, SetImageIndex does nothing. Descendant classes override SetImageIndex to set the client's ImageIndex property if the IsImageIndexLinked method returns True.

See Also