System.Actions.TContainedActionLink.SetImageIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetImageIndex(Value: Integer); virtual;

C++

virtual void __fastcall SetImageIndex(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Actions.pas
System.Actions.hpp
System.Actions TContainedActionLink

Description

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