Jump to content

Why can I close the parent VI when the child is modal?


twols

Recommended Posts

When calling a modal dialog in the main VI, I can almost always close its parent using the task bar (right click and close). The parent disappears but the modal child still there.

 

post-28324-0-85175100-1361362151.png

 

It is not the purpose of a modal window. As far as I know, systems native modal diologs prevent any interaction with their caller.

 

Can I "protect" the main window from beeing closed when the modal dialog is shown? Or close the modal dialog too?

 

LV 2012

Dialog.vi

Main.vi

 

I'm using Windows 7.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.