[progress Communities] [progress Openedge Abl] Forum Post: Re: Losing Popup-menu Assigned...

  • Thread starter Thread starter jquerijero
  • Start date Start date
Status
Not open for further replies.
J

jquerijero

Guest
I did. I am using a global variable for the POPUP-MENU handle. What I noticed is that the handle becomes invalid (although it still points to something, meaning not ?) right after the newly opened window closes. Call goes like this; 1. POPUP-MENU trigger 2. Open a new window 3. Click the "unlucky" button inside the newly opened window, which triggers a recreation of the POPUP-MENU that is currently running the trigger and ghPopUpmenuHandle is updated with the value of the handle. (Note that other buttons on the window that can also recreate the POPUP-MENU don't display the same problem.) 4. Close the newly opened window (using X or a defined Close button) 5. Inspect the global handle (ghPopUpmenuHandle) from the calling window inside WINDOW-CLOSE of the new window --- RUN InspectHandle(OUTPUT hHandle) IN callingWin. ----- at this point the handle is valid 6. Control goes back to the calling window 7. Display a message right immediately after RUN xxxx.w --- MESSAGE VALID-HANDLE(ghPopUpmenuHandle) VIEW-AS ALERT-BOX. ---- at this point the handle is invalid but not ?

Continue reading...
 
Status
Not open for further replies.
Back
Top