|Re: Alternative to Text#setTopIndex [message #647676 is a reply to message #647665]
||Fri, 07 January 2011 17:30
| Elias Volanakis
Registered: July 2009
if I remember correctly, you should be able to use:
This should move the cursor to position n, without selecting anything
and scroll to make it visible. You will need to know the char. position
at the start of line X.
If you are adding text to a Text widget and want to scroll to show the
new text, then try: text.append(string); This will scroll to the bottom
Hope this helps,
On 1/7/2011 08:46, Opfermann C wrote:
> Does someone know an alternative to the method setTopIndex for the Text
> component ?
> If not, would it be possible to include it in the next milestone ?
> Thanks in advance,
Powered by FUDForum
. Page generated in 0.01460 seconds