Sign in Join
FPDoc Onlineexperiment

TCustomEditButton.GetDefaultGlyphName function

Member of TCustomEditButtonprotectedIn unit EditBtn

Gets the name of the default glyph resource used for the Button on the control.

Declaration

pascal
function GetDefaultGlyphName: string; virtual

Function result

Default resource name for the glyph image on the Button in the control.

Description

GetDefaultGlyphName is String function used to get the default resource name with the glyph image for the Button on the control. It is used in the LoadDefaultGlyph method to assign the LCLGlyphName for the TButtonGlyph instance used in the control.

GetDefaultGlyphName is a virtual method in TCustomEditButton, and does not provide an actual value (other than an empty string). It must be re-implemented in a descendant class to return the name for its glyph resource. Descendants include:

  • TCustomControlFilterEdit
  • TFileNameEdit
  • TDirectoryEdit
  • TDateEdit
  • TTimeEdit
  • TCalcEdit

See also

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