List of images for a button.
property Images: TCustomImageList;
__property TCustomImageList Images;
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 on Windows XP and Vista.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!