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

TButtonGlyph.ShowMode

Indicates the logic used to display the Glyph image for the class instance.

Declaration

Source position: buttons.pp line 149

public property TButtonGlyph.ShowMode : TGlyphShowMode
  read FShowMode
  write SetShowMode;

Description

ShowMode is a TGlyphShowMode property which indicates logic used to display the Glyph image for the class instance.

The default value for the property is gsmApplication, and indicates that ShowButtonGlyphs in TApplication determines the visibility of the button Glyph. See TButtonGlyph.CanShow for more information about TGlyphShowMode enumeration values and their usage in TButtonGlyph.

Changing the value for the property causes the Refresh method to be called at run-time (IsDesigning contains False).

See also

TButtonGlyph.Glyph

  

The bitmap image drawn as the glyph on the button.

TButtonGlyph.CanShow

  

Indicates if the glyph image can be drawn for the button glyph.

TButtonGlyph.IsDesigning

  

Indicates whether change notifications are suppressed while editing property values.

TButtonGlyph.Refresh

  

Updates the button glyph after changes to property values.

TGlyphShowMode


Version 4.0 Generated 2025-05-03 Home