[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Comm... err, alternative?
- Subject: Re: Using Comm... err, alternative?
- From: "Liam Gumley" <Liam.Gumley(at)ssec.wisc.edu>
- Date: Wed, 16 Aug 2000 20:57:31 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: University of Wisconsin, Madison
- References: <399B1A1A.F9980995@cmdl.noaa.gov>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20920
Pavel Romashkin <email@example.com> wrote in message
> I have a short question. When you have several (identical, object
> plotting only) widget windows, how do you find out which one is the
> topmost without using a common block or defining a main-level variable?
> I use focus events all right, but I have not figure out where to keep
> the resulting information.
> I certainly will use a pointer if all those daughter windows are
> generated from a parent widget program. But how do I do this if I create
> them from a command line?
If you need to access an active non-modal widget from the command line
without using an a-priori reference (such as an object), then I think you
have to use either a common block or a user-defined system variable which
stores information about the widget. See Paul van Delst's WPLOT and WOPLOT
for an example of a case where this is required:
If anyone knows another way, let's hear it!