in reply to How to change the default (ok) button in Win32::GUI
But that's not why it doesn't work. The problem is that your example only has Button controls in it.
Pressing Return (or Space) when a button has focus sends the Click event to that button. If some other control has focus, then the default button gets the Click event.
/J
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to change the default (ok) button in Win32::GUI
by ChrisR (Hermit) on Apr 21, 2005 at 13:45 UTC |