WWTEXT scroll position. [message #18088] |
Wed, 01 December 1999 00:00  |
nittler
Messages: 2 Registered: December 1999
|
Junior Member |
|
|
Hi peoples,
I thought I had posted this already but it never showed up.
I am now developing widget applications in both PV-WAVE and IDL and my
head is swimming. For one WAVE application, I want to use a widget text
(WWTEXT) window to output information messages as the program runs,
basically a console window. I have run into two problems. First there
doesn't seem to be a way to directly append text to a WWTEXT widget.
Well I fixed this by writing a routine to read the current contents of
the widget, tack on the new contents and put the whole thing back in the
widget. This is fine, but it leads to the second problem, namely that I
can't figure out how to set the scroll position of the window. So, once
I rewrite the text to the widget the scroll is always set to the first
line, whereas I want it to be set to the most recently written (last)
line. Can anybody help?
Cheers,
Larry
------------------------------------------------------------ ----------
Larry R. Nittler Laboratory for Extraterrestrial
Physics, Code 691
Interstellar Dust Buster NASA Goddard Spaceflight Center
Greenbelt MD 20771
phone: 301-286-4572 fax:301-286-0212
phone (DTM): 202-686-4370 x4421
nittler@lepvax.gsfc.nasa.gov http://www.ciw.edu/lrn/
------------------------------------------------------------ ----------
Sent via Deja.com http://www.deja.com/
Before you buy.
|
|
|