Dear all,
how can I catch enter key pressed event in a textbox?
Regards
Hendra
Dear all,
how can I catch enter key pressed event in a textbox?
Regards
Hendra
hendra kusuma wrote:
Dear all,
how can I catch enter key pressed event in a textbox?
Regards
Hendra
http://wxruby.rubyforge.org/doc/textctrl.html
section “Event handling”.
evt_text_enter(your_textbox_id){|event| do_whatever_you_want}
Your textbox has to specify the TE_PROCESS_ENTER style.
Marvin
On Mon, Jun 29, 2009 at 4:58 PM, Marvin Gülker [email protected]
wrote:
evt_text_enter(your_textbox_id){|event| do_whatever_you_want}
Your textbox has to specify the TE_PROCESS_ENTER style.
Thank you
I spot the event handling but miss the TE_PROCESS_ENTER style
It works good now
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs