Forum: wxRuby Making a Text Control selected once user hits a button

Posted by Chase Wilson (remosewa)
on 2010-08-03 18:58
I want it so that when a user hits a button, that a text control is
selected and they can just start typing away and update the text
control. Is there anyway to do this?
Posted by Mario Steele (Guest)
on 2010-08-04 02:02
(Received via mailing list)
evt_button(button) do
  @edit_control.set_focus
end

hth
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.