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

Home » Public Forums » archive » Top-level bases
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Top-level bases [message #41068] Wed, 22 September 2004 18:00
algosat is currently offline  algosat
Messages: 7
Registered: September 2004
Junior Member
If I have a pop-up window that was started from within an event
handler for the primary widget, and I am using the primary widgets
event function code to handle the events (see below), how do I
maintain the link to my state data when the pop-up access the event
function code?

widget_control,'air',tlb,/realize
xmanager,'air',tlb,event_handler='the same piece of code it is already
in',/no_block

When the code enters the event handler the first time, in response to
a button click in the primary widget, the state information is
dutifully kept, but when it enters the event handler from the pop-up
window (same event handler mind you as the last call) I have lost all
of the links to my state data, primary_widget id, etc.

I have tried setting the uvalue of one of the pop-up windows to the
state information, generally keeps this, but loses the widget id of
the primary tlb.
So can 2 top-levels bases see each other and exchange information? I
know they can I just cant seem to figure it out properly. Its driving
me nuts.

Cheers in advance. Andrew
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: open HTTP links from a widget
Next Topic: Re: widget IDs ever zero?

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

Current Time: Sun Oct 12 08:15:02 PDT 2025

Total time taken to generate the page: 1.12085 seconds