Sign in Join
FPDoc Onlineexperiment

TCustomEditButton.LoadDefaultGlyph procedure

Member of TCustomEditButtonprotectedIn unit EditBtn

Loads the default glyph displayed on the Button for the control.

Declaration

pascal
procedure LoadDefaultGlyph

Description

LoadDefaultGlyph calls GetDefaultGlyphName to get the name for the default glyph resource defined for the class instance. In TCustomEditButton, this is an empty string (''). In a descendent class, another value may be provided. If a glyph name is found, it is assigned to the ButtonGlyph in the Button for the control.

LoadDefaultGlyph is called when Nil assigned to the Glyph property in the control.

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