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

TTaskDialog

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Creates full-features modal dialogs at runtime.

Declaration

Source position: dialogs.pp line 639

type TTaskDialog = class(TCustomTaskDialog) end;

published

  property Buttons: TTaskDialogButtons;

  

Collection of items that describe buttons in dialog. Additional to CommonButtons.

  property Caption: TTranslateString;

  

Caption of dialog's form.

  property CommonButtons: TTaskDialogCommonButtons;

  

Set of standard buttons in dialog: OK, Cancel, Yes etc. Additional to Buttons.

  property DefaultButton: TTaskDialogCommonButton;

  

Index of default button, from set of CommonButtons property.

  property ExpandButtonCaption: TTranslateString;

  

Dialog can have "expand button", with specified caption that shows additional info.

  property ExpandedText: TTranslateString;

  

Text that is shown when dialog is expanded. Use "\n" for new lines.

  property Flags: TTaskDialogFlags;

  

Set of advanced options for dialog.

  property FooterIcon: TTaskDialogIcon;

  

Icon for the footer area, at the bottom.

  property FooterText: TTranslateString;

  

Text that shows in the footer area, at the bottom. Use "\n" for new lines.

  property MainIcon: TTaskDialogIcon;

  

Icon for the main info in dialog.

  property RadioButtons: TTaskDialogButtons;

  

Collection of items that describe radio-buttons; they are shown in the lower part. Use "\n" to add info to buttons (shown in hint in emulated dialog, or in a new line in native Windows dialog.)

  property Text: TTranslateString;

  

Text that is shown as main information in the dialog. Use "\n" for new lines.

  property Title: TTranslateString;

  

Header text that is shown on the top, with big font and bold style. Use "\n" for new lines.

  property VerificationText: TTranslateString;

  

If not empty, dialog shows check-box with this caption, at the bottom.

  property OnButtonClicked: TTaskDlgClickEvent;

Inheritance

TTaskDialog

  

Creates full-features modal dialogs at runtime.

|

TCustomTaskDialog

|

TComponent

?

TObject

Description

Non-visual component, creates modal dialogs in runtime, with rich UI elements, like Windows TaskDialog API.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.