in reply to How do I recognize that the user has pressed enter inside a text box? Win32::GUI Question

I haven't used the WIN32::GUI module, but a couple of things to watch for - the user could use the TAB key or the mouse to leave the TEXTFIELD.

It would be better to use the loose-focus event to validate the TEXTFIELD assuming thats what you want to do and that event is exposed thru Win32::GUI.

  • Comment on Re: How do I recognize that the user has pressed enter inside a text box? Win32::GUI Question