Unit 'LCLTaskDialog' Package
[Overview][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

DefaultTaskDialog

Declaration

Source position: lcltaskdialog.pas line 401

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

Description

A default Task Dialog wrapper instance. Can be used to display some information with 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;