Vcl.StdCtrls.TButton.Images

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Images;

C++

__property Images;

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TButton

Description

List of images for a button.

Vcl.StdCtrls.TButton.Images inherits from Vcl.StdCtrls.TCustomButton.Images. All content below this line refers to Vcl.StdCtrls.TCustomButton.Images.

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.

See Also

Code Examples