hendra kusuma | 24 Jun 10:13
Picon

how to use evt_text_enter?

evt_text_enter(id) { | event | ... }

I read above line in wxruby doc, if I'm not mistaken
it catch enter key pressed while editing a textbox
I tried to use it but it doesnot work

my code looks like this

evt_text_enter( <at> textbox.get_id) {|e| do_something(e)}

def do_something(e)
  puts <at> textbox.get_value
end

how is the right way to use that event?

--
Suka linux?
Kunjungi blog saya http://penguinroad.blogspot.com
_______________________________________________
wxruby-users mailing list
wxruby-users <at> rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users

Gmane