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

Home » Public Forums » archive » Re: HELP with IDL widget_text values
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: HELP with IDL widget_text values [message #538 is a reply to message #537] Mon, 31 August 1992 20:43 Go to previous message
strebel is currently offline  strebel
Messages: 3
Registered: September 1992
Junior Member
In article <87523@netnews.upenn.edu> mark@ginger.biophys.upenn.edu (Mark Elliott) writes:
>
> I have an IDL text widget (scrollable) which has lines appended to it
> during the course of a program. The line I use looks like:
>
> WIDGET_CONTROL, TXTWID, SET_VALUE = LINES, /APPEND
>
> The problem is that as the newly added lines of text are added,
> the widget's scroll window is not adjusted to make the new lines visible.
> Consequently, the user has no idea that new text is there. Is there any way
> to keep the text widget's view window on the bottom most line?
>
There is no automatic way to do it, but it can be done manually by setting
the scrollbar position. The window is only adjusted when it is redrawn, so
you may have problems if the text line you add is wider then the original
lines. You could just redraw the widget (bad solution!).
hope this helps

-stephen s
[Message index]
 
Read Message
Read Message
Previous Topic: HELP with IDL widget_text values
Next Topic: PC-IDL

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

Current Time: Tue Dec 02 13:07:14 PST 2025

Total time taken to generate the page: 1.36173 seconds