11-04-2010 04:49 PM
I have a popup panel (I created manually in my .uir). From that panel, I call a new popup panel (manually created in code). When I click ok on my second popup, its callback function calls RemovePopup(2nd panel handle), both popups seem to go away instead of just the 2nd one and returning to the first.
Is this expected? i know there is a way (at least in my program) to work around this, but wanted to check with the experienced people first 🙂
Solved! Go to Solution.
11-04-2010 05:42 PM
As clearly stated in the function help, the parameter passed to the function detrermines which popup is removed:
Selects whether to remove all pop-up panels or only the active pop-up panel.
1 = All
0 = Active only
You should not pass the panel handle to this function: it is possible that every non-zero value is interpreted as a "clear all" command. Normally you call RemovePopup (0) to remove the last installed popup only.
11-05-2010 02:09 AM
hi,
also you can call HidePanel(panelHandle), this is specialy useful when you need hide panel from Timer automaticaly.
11-05-2010 08:37 AM
DOH!!!!!!!! Tunnel Vision on my part. Assumed it was a panel Handle similar to all other panel calls.