WAIT-FOR

Posted by scorona on 28-May-2015 16:15

I have an app that runs another app using a BUTTON, in the second one i'm using Dynamic Query and Dynamic Browse with Temp Table, when I create them (Dynamic Objects) into a Procedure and at the end of the procedure I have:

WAIT-FOR WINDOW-CLOSE OF CURRENT-WINDOW OR "CHOOSE" OF btnModificar IN FRAME {&frame-name}

When I close this app I return some values using an output parameter. The problem I have is:

If I want to run the second app again pressing the BUTTON, it doesn't works, I mean it doesn't trigger the code again.

All Replies

Posted by OctavioOlguin on 28-May-2015 16:46

The second window, the one with the btnModificar, is a window? or Dialog-box.?

Did you run Disable_UI in the second window,  after the wait-for? or otherwise did the 2nd procedure ever makes a DELETE WIDGET {&window-name} if it's a window, or HIDE FRAME {&FRAME-NAME] if it is a dialog-box.

(The best bet is that the second procedure should be a dialog-box, and not a window as it appears because the WAIT-FOR WINDOW-CLOSE)

Best regards

Posted by OctavioOlguin on 04-Jun-2015 16:10

Did you figured it out?

This thread is closed