[wxpython-users] programatically scrolling a textctrl?

wxPython user mailing list, post #18,553
Author:
Date:
Subject:
 Alec Bennett
 2008-07-19 06:29:03
 [wxpython-users] programatically scrolling a textctrl?
I'm having a lot of trouble forcing a textctrl to scroll. I'm trying to put buttons to the side of the text field that, when clicked on, will scroll the text field.

Does anyone have any hints?

I've been trying SetScrollPos() without success.

Thanks for any help.






_______________________________________________
wxpython-users mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Author:
Date:
Subject:
 Alec Bennett
 2008-07-19 06:56:36
 Re: [wxpython-users] programatically scrolling a textctrl?
Got it. For anyone else coming down this path:

textbox.ShowPosition(200)

You can see how long your text box is with:

textbox.GetLastPosition()







_______________________________________________
wxpython-users mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users