Sign in Join
FPDoc Onlineexperiment

TButtonGlyph.CanShowGlyph function

Member of TButtonGlyphprotectedIn unit Buttons

Determines if an image is available for the button glyph.

Declaration

pascal
function CanShowGlyph: Boolean

Function result

True when a glyph image is available.

Description

CanShowGlyph is a Boolean function used to determine if an image is available for the button glyph. The return value is True when an image has been specified using one of the following mechanisms (in the order of precedence):

  • Images is assigned and contains valid button state images
  • LCLGlyphName contains a non-empty resource name
  • ExternalImages is assigned and contains a valid ExternalImageIndex value

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.