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

Home » Public Forums » archive » Multiple dialogs question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Multiple dialogs question [message #3976] Wed, 12 April 1995 00:00
Russ Welti is currently offline  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
[Message index]
 
Read Message
Previous Topic: Re: Multiple dialogs question
Next Topic: Re: IDL Structures - Any Improvement Due?

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

Current Time: Wed Oct 15 16:18:07 PDT 2025

Total time taken to generate the page: 0.71964 seconds