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

TEmulatedTaskDialog

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

Form class displayed when a native dialog class is not available.

Declaration

Source position: lcltaskdialog.pas line 199

type TEmulatedTaskDialog = class(TForm)

protected

  procedure HandleEmulatedButtonClicked();

  

Calls the OnButtonClicked event handler for the task dialog which owns the emulated dialog form.

public

  procedure KeyDown(); override;

  

Handles Alt+F4 and Esc key down events for the emulated task dialog.

  constructor CreateNew(); override;

  

Constructor for the form instance.

  Owner: PTaskDialog;

  

Owner of the emulated task dialog form instance.

  Element: ;

  

Provides indexed access to the label for a visual element on the task dialog form by its TTaskDialogElement value.

  Combo: TComboBox;

  

Control with the selection list for the task dialog form.

  Edit: TEdit;

  

Control used to edit the optional query input for the task dialog dialog.

  Verif: TCheckBox;

  

Check box control for the verification text displayed on the task dialog form.

end;

Inheritance

TEmulatedTaskDialog

  

Form class displayed when a native dialog class is not available.

|

TForm

  

Implements a form used in an LCL application.

|

TCustomForm

  

The base type for TForm classes.

|

TCustomDesignControl

  

Provides a designer surface for scaling and layout of its child controls.

|

TScrollingWinControl

  

Implements a windowed control with scroll bars.

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TEmulatedTaskDialog is a TForm descendant which implements the form displayed for an emulated task dialog. It provides a LCL implementation of the task dialog. It is used when a native task dialog implementation is not available, or is explicitly requested when a task dialog is executed.

TLabels instances are used to represent the visual elements on the dialog as defined in the TTaskDialogElement enumeration.

It provides a TComboBox used for a selection list, a TEdit control used for query input, and a TCheckBox used for the verification text.

There are restrictions to the task dialog flags used on an emulated task dialog. Only the tdfUseCommandLinks, tdfUseCommandLinksNoIcon, and tdfQuery flag options are supported. Other values passed requested in the caller are ignored for an emulated task dialog.

Use the aNonNative argument in the TTaskDialog.Execute method to specify use of an emulated task dialog at run-time.

See also

TTaskDialog.Execute

  

Launches the task dialog form.

TTaskDialogElement

  

Represents visual elements which can be displayed on a task dialog.

TTaskDialogFlag

  

Contains flags used to control the display and behavior of a task dialog.

TTaskDialogFlags

  

Set type used to store values from the TTaskDialogFlag enumeration.

TTaskDialog.Execute

  

Launches the task dialog form.

TForm

  

Implements a form used in an LCL application.


Version 3.2 Generated 2024-02-25 Home