Vcl.StdActns.TSearchReplace.ImageIndex
Delphi
property ImageIndex: TImageIndex read FImageIndex write SetImageIndex default -1;
C++
__property ImageIndex = {default=-1};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | TSearchReplace |
Description
Stores an index in a list of images. {{#multireplace:Vcl.StdActns.TSearchReplace.ImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Actions.TContainedAction.ImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Actions.TContainedAction.ImageIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.