Using TEK_COLOR under IDL 3.0 WMENUs becomes unreadable. [message #886] |
Thu, 01 April 1993 07:39 |
dit
Messages: 5 Registered: July 1992
|
Junior Member |
|
|
Hello,
after upgrading IDL 2.1.2 ===> 3.0 we've got
a problem with color tables.
IDL is running on a VAXstation-3200 under
OpenVMS 5.5-2 with (normal) DECwindows.
We've used the USERLIB routine TEK_COLOR in a
lot of our applications which worked fine for
the display of graphics in that colors are
distinctive.
The problem is demonstrated with this test:
PRO TEST
menu = ["Do nothing", "Load TEK_Color", "Exit"]
Window, Xpos=10, Ypos=10, Xsize=200, Ysize=100, $
Title="Test Window", Retain=2, /Free
While(1) Do Begin
Case Wmenu(menu) Of
0: Begin
End
1: Begin
TEK_Color
End
2: Begin
Stop
End
EndCase
EndWhile
END
After loading the TEK-Colors the background color of
the small menu produced by WMENU (yes, I know this
is on old routine and should be replaced by some
widgets... in the future) is set from white to BLACK (!)
which wasn't true under IDL 2.1. Therefore reading
any menu item is impossible.
Trying the old version of TEK_COLOR from IDL 2.1
and playing with some IDL sysparams doesn't help.
There must be something essentially modified
between IDL 2.1 and IDL 3.0, I think. But what ?
I hope there is anybody in netland pointing me in
the right direction.
Thanks in advance,
Karl-Heinz.
____________________________________________________________ ___
Dipl.-Ing. Karl-Heinz Dittberner | Address: Arnimallee 22
Dept. Scientific Data Processing | D-1000 Berlin 33
c/o Free University of Berlin | Phone: (+4930) 838 2531
E-Mail: dit@vaxser.grumed.fu-berlin.de (Internet)
|
|
|