Re: Position cursor in wxTextCtrl after button press
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Mar 21, 2007
- 534 views
Joel Garcia wrote: > > After clicking a button I use clear_text() on a wxTextCtrl to reset the > contents > to empty. I would like to also position the cursor in that same wxTextCtrl as > the active control so that the user can then paste new text into the control. > I've looked through the wxEuphoria documentation and haven't been able to > locate > a solution. Any ideas? Have you tried set_focus()? Matt