Icon CloseOnEscape Property

property CloseOnEscape: Boolean

Available In: Visual Client Applications

Specifies whether the dialog is automatically closed when the user hits the Escape key. The default value is True.

Information If there is a TDialogButton instance on the dialog with its ModalCancel property set to True, then the button will be clicked when the escape key is pressed and this property will ignored.
Image