in reply to Win32::GUI and Enter Keys in a textfield

In the Textfield control, try adding a ES_WANTRETURN option

AddTextfield( ... -addstyle => 0x1000, #ES_WANTRETURN ... );

There may be a named option in a recent version of Win32::GUI, or maybe a symbol for ES_WANTRETURN.

If you use The GUI Loft, there is a property called WantReturn for doing this.

/J

Replies are listed 'Best First'.
Re: Re: Win32::GUI and Enter Keys in a textfield
by slloyd (Hermit) on Mar 06, 2004 at 22:06 UTC
    Thanks a bunch.. You totally rock! That worked perfectly.