Here is the scenario:
I have the top level vi of a large project open and am in the middle of debugging.
Searching for the source of an error I drill down through several layers of VIs, littering my desktop with open FP and BD windows as I chase the source of the error deep down in the VI hierarchy.
Having found and corrected the error I now start backing out.....CTRL+W, CTRL+W, CTRL+W, closing all of the FPs and BDs I have opened, when it happens....In my sort of autonomous string of CTRL+W actions, the project window became highlighted, (I must have looked at it sometime during debugging and changed it's z-position), and now I just closed it, taking with it all of my other opened VIs and the initialized state of the program.
I find that this occurs more often when I am using a 2 monitor setup as my project window is often positioned on the 2nd monitor out of direct line of sight.
A simple soution might be to prompt the operator with an "are you sure" type dialog if the project window is closed via a shortcut keystroke when there are other VI windows open.
Discretely closing the project window by clicking on the close window button would not need the prompt as the window would have focus already and the operator would be discretely performing the operation on that window.
Another solution would be to exclude the Project window from the shortcut for a close window event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 7 kudos within 7 years after posting will be automatically declined.