Dyalog / ewc-client

Other
1 stars 4 forks source link

Support the Default property on Buttons - and ENTER on buttons with focus #273

Closed mkromberg closed 2 weeks ago

mkromberg commented 2 weeks ago

If a button has the focus and the ENTER key is pressed, the button should generate a Select event (if the Select event is active, of course). A single button can have the Default property set, which means that this button is selected if the user presses ENTER and NO buttons have the focus.

DemoPassword already has Default set to 1 on the OK button and can be used for testing.