Vcl.ExtActns.TDownLoadURL.ImageIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ImageIndex: TImageIndex read FImageIndex write SetImageIndex default -1;

C++

__property ImageIndex = {default=-1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns TDownLoadURL

Description


Stores an index in a list of images.

Vcl.ExtActns.TDownLoadURL.ImageIndex inherits from System.Actions.TContainedAction.ImageIndex. All content below this line refers to System.Actions.TContainedAction.ImageIndex.

Stores an index in a list of images.

ImageIndex is a zero-based index in a list of images. TContainedAction does not provide the actual list of images, only the implementation of actions in GUI application frameworks provides such a property. In general, this list of images contains images that are associated with controls and menu items that use this action.

Note: When ImageIndex is -1, this means that the list does not contain any images. In typical implementations of controls, an image is drawn at the leftmost position in the control, and a control's text is drawn to the right of the image. If ImageIndex is -1, then a control does not offset the text to the right to reserve a placeholder for the image. Otherwise, if ImageIndex is not -1, then the control's text is always drawn with the offset to the right to reserve a place for drawing an image.