MessageDialogButton.Default Property

Syntax

Default as Boolean


Set to True to highlight the button as the default button in the MessageDialog. The Default button will respond to the Enter and Return keys.

By default, the ActionButton's Default property is True. Only one button can be the Default button. Some operating systems do not allow one button to be both the Default and Cancel buttons.