Vcl.Menus.TMenuActionLink.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.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenuActionLink

Description

Sets the specified value to the ImageIndex for the client of the menu action link if IsImageIndexLinked is True.

SetImageIndex sets the specified Value to the ImageIndex property for the client's menu item of the menu action link if the action, associated by the menu action link to the client, controls the ImageIndex property of the client. That is, if IsImageIndexLinked is True.

Value specifies an integer index defining which image, from the list of images maintained by the parent menu, appears next to the menu item.

See Also