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

DefaultTaskDialog

The default Task Dialog wrapper instance.

Declaration

Source position: lcltaskdialog.pas line 401

var DefaultTaskDialog: TTaskDialogEx = (DialogIcon: tiInformation; FooterIcon: tfiWarning);

Description

Can be used to display a task dialog using fewer parameters, just like the TTaskDialogEx.Init method. For example:

var TaskEx: TTaskDialogEx;
// ...
TaskEx := DefaultTaskDialog;
TaskEx.Base.Title := 'Task Dialog Test';
TaskEx.Base.Inst := 'Callback Test';
TaskEx.Execute;

Version 3.2 Generated 2024-02-25 Home