K
Ken Williams
Hi can anyone point me to some sample source code for a scrolling window.
What I want is a text window that monitors incoming data continuously, so it
has to hold say a couple of hundred lines then after that the early lines
need to erase as new data arrives.
The only way I have seen this done is by copying to a buffer, deleting the
first bit then putting it back in a text window.
It does work, but it causes the scroll bar to quickly jump, you don't often
see it, but it just doesn't seem very elegant, there must be a better way.
Ken
What I want is a text window that monitors incoming data continuously, so it
has to hold say a couple of hundred lines then after that the early lines
need to erase as new data arrives.
The only way I have seen this done is by copying to a buffer, deleting the
first bit then putting it back in a text window.
It does work, but it causes the scroll bar to quickly jump, you don't often
see it, but it just doesn't seem very elegant, there must be a better way.
Ken