[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Provides indexed access to the label for a visual element on the task dialog form by its TTaskDialogElement value.
Source position: lcltaskdialog.pas line 212
public TEmulatedTaskDialog.Element : array [tdeContent..tdeMainInstruction] of TLabel; |
Element is an indexed array member with the TLabel instances used for the visual elements on the control. Elements allows access to the properties and methods for the specific element identified by a TTaskDialogElement enumeration value. For instance:
// set the value for the main instruction element AForm.Element[tdeContent].Caption := 'What is this?'; // set the value for the main content element AForm.Element[tdeContent].Caption := 'This is the main content for the task dialog form.' + #10 + 'It is kind of important.';
A subset of TTaskDialogElement values in the range tdeContent..tdeMainInstruction are supported for the Elements member. The other visual elements are represented as controls, like Edit and Verif. Use the Combo member to access the selection list for the task dialog form.
|
Control with the selection list for the task dialog form. |
|
|
Control used to edit the optional query input for the task dialog dialog. |
|
|
Check box control for the verification text displayed on the task dialog form. |
|
|
Represents visual elements which can be displayed on a task dialog. |
Version 4.0 | Generated 2025-05-03 | Home |