TButtonGlyph.CanShow function
Indicates if the glyph image can be drawn for the button glyph.
Declaration
function CanShow: BooleanFunction result
True when the glyph can be displayed on the button.Description
CanShow is a
Boolean function which indicates if the
glyph can be drawn for the button glyph. The return value is determined by
examining the value in the
ShowMode property. Values in the
TGlyphShowMode enumeration determine the return value using the following
logic:
- gsmAlways
- Return value is True
- gsmNever
- Return value is False
- gsmApplication
- Uses the Application.ShowButtonGlyphs property to determine the return value
- gsmSystem
- Uses the value from SystemShowButtonGlyphs as the return value
The return value is always True at design-time.
Use CanShowGlyph to determine if an image is available to be drawn on the button.
See also
- ShowMode
- TGlyphShowMode
- CanShowGlyph
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
