Top-level bases [message #41068] |
Wed, 22 September 2004 18:00 |
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
|
|
|