TBitBtn.Glyph property
Bitmap with the Glyph displayed on the control.
Declaration
property Glyph:;Description
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.
This description is the one of Buttons.TCustomBitBtn.Glyph.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
