Re: [perl-win32-gui-users] how to get the enter key to work with two textfields in win32-gui perl

2011-03-16 Thread Kevin Marshall
David, You should really only have one button created with the -ok option in a window. Even if you have many, the Enter key press would only be sent to the first button created with the option. Usually the option is used in conjunction with the -cancel option and is used to close the DialogBox

[perl-win32-gui-users] how to get the enter key to work with two textfields in win32-gui perl

2011-03-16 Thread David Newman
I'm interested in using two textfields in a DialogBox. Each textfield needs to except input from the enter key. I have learned that when you create your first button with -ok => 1, this becomes the button that will click regardless of the textbox you are in. I'm including some code I'm playing arou