Vcl.StdActns.TFontEdit.Dialog

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Dialog: TFontDialog read GetDialog;

C++

__property Vcl::Dialogs::TFontDialog* Dialog = {read=GetDialog};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdActns.pas
Vcl.StdActns.hpp
Vcl.StdActns TFontEdit

Description

Provides access the font selection dialog that the action executes.

Use Dialog to configure the font selection dialog before the action fires or to read the selected font after the action executes the dialog. For example, you can set the font dialog's target device or limit the available font sizes at design time using the Object Inspector or read the Font property in an OnAccept event handler to make use of the font that the user selects.

When using a font edit action, you do not place a TFontDialog component on the form or data module at design time. Instead, you add the TFontEdit to your action list and then use the Dialog property. The font selection dialog component is created by the TFontEdit constructor.

See Also