Sign in Join
FPDoc Onlineexperiment

TCustomControlFilterEdit.GetDefaultGlyphName function

Member of TCustomControlFilterEditprotectedIn unit EditBtn

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

Declaration

pascal
function GetDefaultGlyphName: string; override

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

This description is the one of EditBtn.TCustomEditButton.GetDefaultGlyphName.

See also

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