Making a Text Control selected once user hits a button

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?

evt_button(button) do
@edit_control.set_focus
end

hth

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs