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

# TFileNameEdit.DialogKind

Determines the dialog type executed when the Button in the control is clicked.

## Declaration

Source position: editbtn.pas line 405

`published property TFileNameEdit.DialogKind : TDialogKind read FDialogKind write FDialogKind default dkOpen;`

## Description

DialogKind is a TDialogKind property that indicates the type of dialog executed when the Button for the control is clicked. The default value for the property is dkOpen, as assigned in the constructor. Use one of the other TDialogKind enumeration values to perform its corresponding action.

## See also

TFileNameEdit.RunDialog |  | Executes an Open or Save dialog for the DialogKind specified in the control.
TFileNameEdit.SaveDialogResult |  | SaveDialogResult - stores the result of the dialog.
TCustomEditButton.Button |  | TSpeedButton instance used on the edit control.
TDialogKind |  | Enumerated type representing dialog styles used in TFileNameEdit.