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

# TaskDialogFirstButtonIndex

Lowest index value for a button identifier used on a task dialog instance.

## Declaration

Source position: dialogs.pp line 896

`const TaskDialogFirstButtonIndex = 100;`

## Description

TaskDialogFirstButtonIndex is a constant which sets the lowest value for a button identifier used on a task dialog instance. The value is used to assign the modal result value for a new button when its identifier is added to the Buttons collection in TTaskDialog.

## Version info

Added in LCL version 4.0.

## See also

TCustomTaskDialog.Buttons |  | Collection with the buttons for the Task dialog.
TCustomTaskDialog.ButtonIDToModalResult |  | Gets the modal result value for the button with the specified identifier.
TTaskDialogButtonItem.ModalResult |  | Modal result value returned when the button is clicked.
TTaskDialogBaseButtonItem.Create |  | Constructor for the class instance.
TaskDialogFirstRadioButtonIndex |  | Lowest index value for a radio button used on a TTaskDialog instance.
TCollectionItem.ID