LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a MessagePopup non modal?

I have a CVI program that uses MessagePopups. In some cases I would like for them to be non modal. Is this possible? Reason: I need access to controls on another panel while the MessagePopup is active.
0 Kudos
Message 1 of 4
(3,503 Views)
You cannot set the window for a MessagePopup (or any popup for that matter) to be non-modal, but what you can do is just design your own panel in the UI Editor with a text message, an OK button, and Cancel button on it to perform the same functionality. If you display the panel with DisplayPanel and use DiscardPanel to remove it when the user clicks OK or Cancel you will have the exact same functionality as MessagePopup. If you want this custom panel of yours to be modal as well you can use InstallPopup and RemovePopup correspondingly.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
Message 2 of 4
(3,503 Views)

Are you able to provide me with a little bit more details about designing my own panel? I just need a message and OK button. Can you point me to an example?

0 Kudos
Message 3 of 4
(2,588 Views)

A good resource when starting to learn CVI is this web site which also provides a Getting Started manual describing and explaining your scenario

0 Kudos
Message 4 of 4
(2,576 Views)