[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'EditBtn' (#lcl)

# TCustomEditButton.GetDefaultGlyphName

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

## Declaration

Source position: editbtn.pas line 96

`protected function TCustomEditButton.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

TCustomControlFilterEdit |  | Base class for edit controls which filter data in an associated control like TListbox or TTreeview.
TFileNameEdit |  | TFileNameEdit - an EditBox to hold a filename, with an attached SpeedButton that summons a File Open dialog.
TDirectoryEdit |  | TDirectoryEdit - an EditBox to hold a directory name, with an attached SpeedButton that summons a Directory Open dialog.
TDateEdit |  | Implements a control with an edit box for a date value and an attached speed button to display a date selection (calendar) dialog.
TTimeEdit |  | Implements a control used to edit time values.
TCalcEdit |  | Implements an numeric edit control with a button to display a calculator dialog.
TButtonGlyph.LCLGlyphName |  | Stores the standard LCL resource name used for the Glyph in the class instance.