chanklaus has asked for the wisdom of the Perl Monks concerning the following question:
I wrote a program using PERL/Tk which processes data. The processing takes some while, so I create status messages and display them in a scrolled textbox. This works very fine, but after some time the amount of status message lines is bigger than the number of lines contained in the text windows - exactly the situation for which a scrolled box is required.
Now, the status messages are still added in the right way, but they are not visible on the screen, because the text box only displays the top portion of the text, whereas to view those lines at the end of the text (and therefore the most recent status messages) one has to scroll manually down the text.
What I would like to have now is that the text window automatically scrolls down, so that always the bottom part of the text is visible, and so the most recent status messages.
How can I program that behaviour?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PERL/Tk Scrolled Textbox: How do I tell it to automatically scroll down?
by desemondo (Hermit) on Oct 02, 2009 at 11:27 UTC | |
|
Re: PERL/Tk Scrolled Textbox: How do I tell it to automatically scroll down?
by biohisham (Priest) on Oct 02, 2009 at 10:36 UTC | |
by Anonymous Monk on Oct 02, 2009 at 11:04 UTC | |
|
Re: PERL/Tk Scrolled Textbox: How do I tell it to automatically scroll down?
by Anonymous Monk on Oct 02, 2009 at 09:11 UTC | |
|
Re: PERL/Tk Scrolled Textbox: How do I tell it to automatically scroll down?
by chanklaus (Acolyte) on Oct 05, 2009 at 07:34 UTC | |
|
Re: PERL/Tk Scrolled Textbox: How do I tell it to automatically scroll down?
by Anonymous Monk on Oct 02, 2009 at 14:36 UTC |