comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Scrolling within a text widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Scrolling within a text widget [message #81301] Fri, 07 September 2012 12:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Heinz Stege writes:

> here is a very basic question on srolling the text within a text
> widget. My program is writing messages (e.g. infos, warnings and error
> messages) into a little text widget. I would like the widget
> automatically to scroll down the text, so that the user always can
> read the latest message.

Oh, my gosh! Does this bring back a lot of bad memories!
It's like an old girlfriend showing up years later after
you thought that nightmare was over. :-)

I don't think there is a real solution. At least I
don't remember one, and it's pretty clear no one
has bothered to work on widgets for at least the last
10 years or so.

You might try TextLineFormat in the Coyote Library. I think
I wrote that to break lines up into shorter lines so that
I could keep track of them as I added them to a text widget.
That way, I didn't have to worry about wrapping.

http://www.idlcoyote.com/programs/textlinformat.pro

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: IDLdoc 3.5 released
Next Topic: Scrolling within a text widget

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:06:57 PDT 2025

Total time taken to generate the page: 1.28180 seconds