MAP=0 and EDITABLE conflict [message #2569] |
Mon, 25 July 1994 00:00 |
vshvetsk
Messages: 13 Registered: March 1994
|
Junior Member |
|
|
I encountered yet another little problem that I cqannot solve gracefully < what can I do- all beginners find the pitfalls even on the plane!>
I have two widget_text windows, one is visible <map=1> and one is not <map=0>
Both of them are editable
the problem is that UNLESS you keep both of them visible when you declare them-
one is not going to be editable.
example:
a=wiodget_base()
b=widget_base(a)
b1=widget_base(a, map=0)
c=widget_text(b, /EDITABLE)
c1=widget_text(b1, /EDITABLE)
widget_control, /REAL,a
now, if you: widget_control, map=0, b and then widget_control, map=1, b1
the new TEXT widget <C!> will not be editable.
So, when I am creating them, npow I am holding both at the map=1, and then switch one to map=0. and this sure does nto look nice....
Thanks for the input
Vi ctor
|
|
|