RAD Studio VCL Reference
TBitBtnActionLink.SetImageIndex Method

Introduces an interface for setting the image index for a client.

procedure SetImageIndex(Value: Integer); override;
virtual __fastcall SetImageIndex(int Value);

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

Value specifies the new value of the ImageIndex property. 

As implemented in TActionLink, SetImageIndex does nothing. Descendant classes override SetImageIndex to set the client property that corresponds to the action's ImageIndex property if the IsImageIndexLinked method returns true. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!