PtMultiText scroll bar

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

Regards
Roby

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.