Multiple dialogs question [message #3976] |
Wed, 12 April 1995 00:00 |
Russ Welti
Messages: 27 Registered: October 1994
|
Junior Member |
|
|
Hi people--
If I already have a good standalone dialog, using widgets, and I
want to be able to have multiple instances of it in one IDL session,
I run into problems because the COMMONs of the second instance overwrite
those of the first, so that the first dialog loses track of its critical
data.
I understand why it happens, but does anyone have a painless way to
change the source to allow multiple instances? All I can think of is
major surgery, where the COMMON data becomes *arrays* of data, and
then I construct UVALUES at build-time which indicate (at event-time)
which array element from the COMMON to look at. Yuck. Isn't there
something I'm missing -- something faster/easier?
Thanks for any tips,
/
Russ Welti /-\
(c-g)
University of Washington \-/
Molecular Biotechnology /
PO Box 352145 /-\
Seattle, WA 98195 (a-t)
rwelti@u.washington.edu \-/
(206) 685 3840 voice (206) 685 7344 FAX /
http://chroma.mbt.washington.edu/graphics/gif/russ.gif
|
|
|