RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFontEdit Class

TFontEdit is the standard action for displaying a font selection dialog.

Pascal
TFontEdit = class(TCommonDialogAction);
C++
class TFontEdit : public TCommonDialogAction;

StdActns

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!