[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Buttons' (#lcl)

TCustomSpeedButton.Glyph

The bitmap with the glyph image(s) displayed for button states.

Declaration

Source position: buttons.pp line 419

public property TCustomSpeedButton.Glyph : TBitmap
  read GetGlyph
  write SetGlyph
  stored IsGlyphStored;

Description

Glyph is a TBitmap property with the image drawn for the button control. Read and write access to the property value are redirected to an internal TButtonGlyph instance for the control. This allows a single image to be specified for Glyph, or multiple bitmaps for various button states using the Images property.

Changing the value for the property cause the control to be redrawn.

See also

TCustomSpeedButton.Images

  

List of images available for use as state glyphs on the control.

TCustomSpeedButton.ImageIndex

  

Ordinal position for the glyph bitmap displayed when the button is in its up state.

TCustomSpeedButton.DisabledImageIndex

  

Ordinal position for the image displayed when the control is disabled.

TCustomSpeedButton.HotImageIndex

  

Ordinal position for the glyph bitmap displayed when the mouse is hovered over the button control.

TCustomSpeedButton.PressedImageIndex

  

Ordinal position for the glyph bitmap displayed when the button is in a pressed (down) state.

TCustomSpeedButton.SelectedImageIndex

  

Ordinal position for the glyph bitmap displayed when the button is selected.

TButtonGlyph

  

Represents an image that can be attached to a button.


Version 3.2 Generated 2024-02-25 Home