24 Jun 10:13
how to use evt_text_enter?
hendra kusuma <penguinroad <at> gmail.com>
2009-06-24 08:13:58 GMT
2009-06-24 08:13:58 GMT
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
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
RSS Feed