Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.SimpleQuery property

Member of TCustomTaskDialogpublicIn unit Dialogs

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

Declaration

pascal
property 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 or tfQuery has been included in the Flags property. In case of tfQuery, QueryItemIndex must be set to -1 to show the SimpleQuery text in the combo box. 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.

Added in LCL version 4.0.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.