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

# TCustomTaskDialog.SimpleQuery

Contains the text displayed and edited using the query control on the task dialog.

## Declaration

Source position: dialogs.pp line 823

`public property TCustomTaskDialog.SimpleQuery : string read FSimpleQuery write FSimpleQuery;`

## Description

SimpleQuery is a String property which contains free-form text maintained using the query control for the task dialog. A single-line edit control is used to display and edit the value for the property.

SimpleQuery is displayed on the dialog when tfSimpleQuery has been included in the Flags property. Please note that tfQuery and tfSimpleQuery flag values are mutually exclusive with tfQuery taking precedence.

Use QueryChoices if predefined choices selected using a combo-box control are needed on the task dialog.

## Version info

Added in LCL version 4.0.

## See also

TCustomTaskDialog.SimpleQueryPasswordChar |  | Character value used to obfuscate text in SimpleQuery for the query control.
TCustomTaskDialog.Flags |  | Set of options enabled for the Task dialog.
TTaskDialogFlags |  | Set type used to store values from the TTaskDialogFlag enumeration.
TTaskDialogFlag |  | Represents options that can be enabled for TTaskDialog.