Vcl.StdCtrls.TCustomButton.Images
Delphi
property Images: TCustomImageList read FImages write SetImages;
C++
__property Vcl::Imglist::TCustomImageList* Images = {read=FImages, write=SetImages};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomButton |
Description
List of images for a button.
Images is a TCustomImageList object listing the various images that can be placed on a button.
The button's image depends on the button state. These images are determined by the value of the image state properties that index ImageIndex: DisabledImageIndex, HotImageIndex, ImageIndex, PressedImageIndex, and SelectedImageIndex. When the ImageIndex index is -1, it generally means that no image is used for the normal state. For the other state image indexes, -1 means to use the same image as the normal state.
The ImageMargins and ImageAlignment properties orient the image inside the button. The image is not sized to fit the button, and the button is not stretched.
This is available only for Windows XP, Vista, Windows 7, or later Windows operating systems.