[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Bitmap with the Glyph displayed on the control.
Source position: buttons.pp line 219
public property TCustomBitBtn.Glyph : TBitmap |
Glyph is a TBitmap property with bitmap(s) displayed on the button control. The bitmap is stored internally in a TButtonGlyph instance that is populated when a glyph resource is used for image(s) on the control. A bitmap can be assigned directly to the property. Or, it can be loaded when the LoadGlyphFromResourceName, LoadGlyphFromLazarusResource, or LoadGlyphFromStock method is called.
Glyph can contain a bitmap with multiple adjacent images representing the states for the button control. Use ImageWidth to define the Width for individual images in the combined bitmap. If the bitmap has a Width that is larger than ImageWidth, it is split into separate bitmaps for use in the internal TButtonGlyph instance. Use ImageIndex, DisabledImageIndex, HotImageIndex, and PressedImageIndex to indicate which bitmap is used for the corresponding button state.
Remark: | Unlike TCustomSpeedButton, SelectedImageIndex is not available in TCustomBitBtn; it cannot receive input focus, so a selected image is neither needed nor implemented. |
|
Contains the list of images available for use as the glyph on a custom button control. |
|
|
Ordinal position for the default bitmap displayed when the button control is up (not pressed). |
|
|
Width for the value in Images displayed on the button control. |
|
|
Specifies the button kind including the default bitmap and caption for the button control. |
|
|
Loads the Glyph image with the specified named from a resource instance. |
|
|
Loads a glyph image from the Lazarus resource file (.lrs). |
|
|
Loads a stock glyph image for the specified button identifier. |
Version 4.0 | Generated 2025-05-03 | Home |