01-22-2009 11:10 AM
My application displays main GUI, then it displays second GUI, when I click on main GUI, the second GUI is hided behind the main GUI. How do I make the second GUI or confirm popup window always display in front of Main GUI?
Both of the GUIs are displayed in the center of screen, the second GUI size is smaller then main GUI. Thanks
Solved! Go to Solution.
01-22-2009 02:19 PM
To have a panel stay in front of another you can choose between these methods:
As evident, the choice on the method to adopt depends on the behaviour you want for your application.
01-22-2009 03:46 PM
11-03-2016 10:33 AM
Necro thread, sorry, but same question using a "normal" popup panel like a ConfirmPopup.
1. Running a single panel app.
2. Have confirm popup come up for user to select.
3. User accidently clicks on panel instead of popup.
4. Popup disappears behind panel, computer-challenged user freaks out.
Would like this to not be the behavior, that is, can mouse click anywhere but keep the popup up front.
Suggestions?
11-03-2016 11:39 AM
This definitely is strange provided your panel is displayed with InstallPopup. Can you show your code? Or better create a simple running project that exhibits this behaviour?
07-28-2017 02:37 AM
Good morning,
Sorry for my bad English.
I have quite the same problem. I have the same program running on two benches. On the first one, no problem. On the second one, sometime popup are hidden without clicking and I must kill the program to do something.
any solution ?
Thank's
07-31-2017 08:55 AM
Hi Xavier,
Have you tried the two methods mentioned earlier in this forum?
1) Using the InstallPopup function to bring your popups to the front. (http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/uiref/cviinstallpopup/)
2) Set the panel to be floating by using the SetPanelAttribute function (http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/uiref/cvisetpanelattribute/) (http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/uiref/cviattrfloating/)
Thanks