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

SetElementText

Sets the value for the specified visual element on the dialog.

Declaration

Source position: lcltaskdialog.pas line 346

procedure TTaskDialog.SetElementText(

  element: TTaskDialogElement;

  const Text: string

);

Arguments

element

  

TTaskDialogElement enumeration value for the visual element updated in the method.

Text

  

New value for the specified dialog element. Assigned to the Caption or Text property in the corresponding element.

Description

Allows a OnButtonClicked callback to change the value for a Task Dialog main element. Note that tdeVerif could be modified only in emulation mode, since the API does not give any run-time access to the check box caption. Other elements will work in both emulated and native modes.

See also

TTaskDialogElement

  

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


Version 4.0 Generated 2025-05-03 Home