View topic - PtMultiText scroll bar

Page 1 of 1

PtMultiText scroll bar

PostPosted: Thu Aug 23, 2012 5:52 am
by roby.2004
When I call PtMultiTextModifyText to delete the first line of buffered text ,the scroll bar also move up.and then again a log
is coming at the end the scroll bar moves down ,so the filckering of scroll bar happening.

Is there any way to avoid this?

I think of disabling the scroll bar when deleting the first line to avoid the flickering effect.But I dont know how to disable the scroll bar.
How to disable and enable the scroll bar programatically?

Thanks in advance


Re: PtMultiText scroll bar

PostPosted: Thu Aug 23, 2012 4:35 pm
by maschoen
I'm pretty sure you can control the scroll bar's location directly. I don't know if what you want is possible with the MultiText widget. I was able to get complete control as I mentioned previously, by using multiple text widgets.