I want to have the user enter text into a multi-line Textctrl and then
when a button is pressed have that text selected. But for some reason
SelectAll() doesn't work. An excerpt to illustrate.
I want to have the user enter text into a multi-line Textctrl and then
when a button is pressed have that text selected. But for some reason
SelectAll() doesn't work. An excerpt to illustrate.
Is there an extra step to make the former work. I've already try the
CallAfter() function... didn't work.
Platform and version? If you're on windows then the textctrl only shows the selection when the widget has the focus. Since you are setting the selection in the button handler then they button has the focus at that time.
On Jul 11, 11:11 am, Yony <yones...@gmail.com> wrote:
I want to have the user enter text into a multi-line Textctrl and then
when a button is pressed have that text selected. But for some reason
SelectAll() doesn't work. An excerpt to illustrate.