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.
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.