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

# TDirectoryEdit.GetDefaultGlyphName

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

## Declaration

Source position: editbtn.pas line 498

`protected function TDirectoryEdit.GetDefaultGlyphName: string; override;`

## Function result

Default resource name for the glyph used on the button in the control.

## Description

GetDefaultGlyphName is an overridden 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.

In TDirectoryEdit, the return value is set to the ResBtnSelDir constant.

## See also

TCalcEdit |  | Implements an numeric edit control with a button to display a calculator dialog.
ResBtnSelDir |  | Resource name for the default glyph used on the Button in TDirectoryEdit.
TButtonGlyph.LCLGlyphName |  | Stores the standard LCL resource name used for the Glyph in the class instance.