IButton.DefaultButton

Syntax

DefaultButton: Boolean;

Description

The DefaultButton property determines that pressing the ENTER key generates the OnClick event for the button event if it is not currently focused.

Comments

If another button is focused on pressing the ENTER key, the event is generated for this very button.

See also:

IButton