Hi gold,
I will try to explain what is happening.
I have looked at your VI's.
Under Normal conditions When You run any toplevel VI (Say delete2.vi). Automatically all Vi's needed by this Vi get reserved. LV then prepares all Vi's with their default characteristics. In our case delete1.vi is modal. It will be called when the even Structure enters the timeout Event (the way you have configured this, it will never happen.). This VI will be reserved for running. Now when the Subvi is called it will Show its front panel and this panel will be modal.
But if the Panel is already open... As soon as you run the Top VI, the subvi is prepared as modal Window. And waits for it to be run. But the Front Panel is open and In our case this Vi is modal so it will be on
top. So you cannot go to bottom Vi and do anything. This is expected. The CTRL+. keys will stop a Vi if it is running. But Our Modal VI is not running, it is reserved for running.
What you can do is in VI Properties-> Window Appearence you can Check the "Allow User to Close Window" Option. And also to debug have the Menu and tool bars Visible so you can see what happens.
If you do this and run your VI the SubVi will be on top as it is modal. But you can close this Vi using the Close Button and revert to your Main VI.
This is Just an idiosyncracy of Labview. Nothing to do LV6.1 or Win 2000. The same Behaviour can be simulated with case structure in a while loop.
By the Way, You should put some delays in your While Loops and also What is the Point of having this VI in timeout Event with the Timeout terminal left unwired?
Regards,
Mache
Good Luck!
Mache