Applies To: |
|
Summary: |
I want to create a Popup so that it will
automatically close when I click back on my main page, or anywhere
else. |
Solution: |
A solution is to add the following Cicode
to the 'While Page Shown' Event of the popup page. IF WinNumber() <> WinGetFocus() THEN WinFree() END This will compare the Window number of the popup, to the Window
number of the currently selected window, if they differ, the Popup
will be closed. |
Keywords: |
autoclose auto close automatically focus popup |
Related Links
Attachments