01-06-2014 07:28 PM
Hi all,
I want to display a single-button message box to the user that they must acknowledge by clicking the button...what I want to avoid is the user being able to close the message box with the red "x" close button in the title bar. Is it possible to display a message box without the red "x"/title bar and/or disable the red "x" in the message box? I know how to disable the "x" in a vi so I'm thinking I can pull this off with a sub-vi but I want to know if there's an easier way that I'm overlooking?
Thanks,
-Ryan
01-06-2014 07:39 PM
Yes it is possible.
You need to create a separate vi for your dialog window, and do all of the following in the VI Properties (Right-Click on the VI Icon)
Uncheck the Same as VI Name box, and give the window the approp name or leave blank
Select Window Appearance, and click on custom radio button
Click the Customize... Button
Un-check "Show Menu Bar", "Show Vertical Scroll Bar", "Show Horizontal Scroll Bar", "Show Tool Bar When Running"
Check "Show front panel when opened", and "Close Afterward"
Make the window Modal
Un-check Allow close, allow resize, allow minimize