Vcl.StdActns.TFontEdit
Delphi
TFontEdit = class(TCommonDialogAction)
C++
class PASCALIMPLEMENTATION TFontEdit : public TCommonDialogAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | Vcl.StdActns |
Description
TFontEdit is the standard action for displaying a font selection dialog.
Add TFontEdit to an action list to add a modal font selection dialog to your application. Controls such as menu items and tool buttons linked to this action cause the application to display a font dialog when invoked. Use the OnAccept event to respond after the user selects a font in the dialog or the OnCancel event to respond when the user cancels from the dialog. In the event handler, you can read the selected font from the dialog specified by the Dialog property.