Links
EControl Syntax Editor SDK
TButtonProps.Glyph Property

Specifies the bitmap that appears on the speed button.

property Glyph: TBitmap;

Set Glyph to a bitmap object that contains the image that should appear on the face of the button. Bring up the Open dialog box from the Object Inspector to choose a bitmap file (with a .BMP extension), or specify a bitmap file at runtime. 

Glyph can provide up to six images within a single bitmap. All images must be the same size and next to each other in a horizontal row. Number of images are specified by the ImageCount property. Button displays one of these images depending on the state of the button.

Image position 
Button state 
Description 
First 
Up 
This image appears when the button is unselected. If no other images exist in the bitmap, this image is used for all states. 
Second 
Disabled 
This image usually appears dimmed to indicate that the button can't be selected. 
Third 
Clicked 
This image appears when the button is clicked. 
Fourth 
Down 
This image appears when the button stays down indicating that it remains selected. 
Fifth 
Hot Up 
This image appears when the button is unselected and mouse is over. 
Sixth 
Hot Down 
This image appears when the button stays down and mouse is over. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!