defaultButton(button)

Class: Window.

Description:

Sets or gets a default button in this window form. On some systems like Windows OS default button has a different look than other buttons.

Parameters:

Name Type Description

button

Button

The button that should be default on this Window. Only last assigned button gets to be default.

Returns:

Type: Button | undefined