Sign in Join
FPDoc Onlineexperiment

TTaskDialog.QueryItemIndex property

Member of TTaskDialogpublishedIn unit Dialogs

Ordinal position for the value in QueryChoices selected when the task dialog is executed.

Declaration

pascal
property QueryItemIndex:;

Description

QueryItemIndex is an Integer property which contains the ordinal position for the selected value in the QueryChoices on the dialog. It contains the initial item in QueryChoices selected when the Execute method is called. It is updated with the option selected during execution of the dialog form.

Use QueryResult to access the string value for the selected item in QueryChoices.

QueryItem and QueryResult are relevant when tfQuery has been included in the Flags for the task dialog.

Use ModalResult to determine the button or key combination used to complete execution of the dialog form.

This description is the one of Dialogs.TCustomTaskDialog.QueryItemIndex.

See also

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