Inherited from : TFontDialog
Unit: ApFontDlg
Custom version: TApCustomFontDialog.
Replacement for TFontDialog component shipped with Delphi/C++Builder.
SelectedFont : TFont R
Public, Protected in custom version
Returns the font you selected in this dialog. Can be access when the dialog is active (in event handlers for example). Note that it's not the final user's selection.
SampleText : string
Published, protected in custom version
Sets text using to display selection changes.
Published, Protected in custom version
This variable contains all information about panels of the standard dialog. See TApCustDlgPatams type for details.
For font dialogs CustDlgParams.CustomForm member is not used.
DlgItemsCaptions : TApFontDlgCaptions
Published; protected in custom version
You can set items in this property to replace labels for standard controls inside dialog. For example you can replace OK button caption using DlgItemsCaptions.OK property and so on. If there is no value in any subitem then original text is displayed.
Title : string
Published; protected in custom version
The title of the dialog
All the new properties below are "dialog-time".
For all handlers: Published; Protected in custom version.
Occurs when user has changed printer. Use SelectedFont property to get selected font.
General hook procedure. You can hook any message you want directry in this handler. This handler occurs after dialog procedure has processed current message.
OnEventHooking : TApMsgQueryEvent
You can determine here whether dialog box procedure should process current message (m parameter). Set AllowDispatch to false to prevent this message's processing by dialog box procedure.
OnCanClose : TCloseQueryEvent
Occurs when the user tries ti close the dialog box pressing OK button.