TCustomTaskDialog.QueryResult property
String representation for the query entered or selected on the dialog form.
Declaration
property QueryResult: string read FQueryResult write FQueryResult;Description
QueryResult is a
String property with the value for the
query control dialog form. The content may reflect either the SimpleQuery or
the selected value in QueryChoices for the class instance.
Use Flags to specify which editing control and mode are used to capture the query value (tfSimpleQuery for SimpleQuery and tfQuery for QueryChoices).
QueryResult is set to an empty string ('') when the Execute method is called, and updated prior to exit.
Use ModalResult to determine the button or key press used to complete execution of the task dialog. The value in QueryResult is set to the respective source even when Esc or Alt+F4 is used to cancel the task dialog.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
