FMX.Media.TMediaPlayerValue.ImageIndex
Delphi
property ImageIndex;
C++
__property ImageIndex = {default=-1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TMediaPlayerValue |
Description
Index in a list of images of the image that represents your action.
ImageIndex is an index in a list of images stored in the Images property of the action list that contains your action. ImageIndex is zero-based.
- 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 text of the control 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 text of the control is always drawn with the offset to the right to reserve a place for drawing an image.