hendra kusuma wrote:> Dear all, > > how can I catch enter key pressed event in a textbox? > > Regards > Hendrahttp://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 -- Posted via http://www.ruby-forum.com/.