I've got a project which runs a vi in a subpanel. There's some automation which causes the vi to load and unload from the subpanel and i want for the user to be able to continue doing whatever he's doing while this happens. Unfortunately, every time the subvi loads into the subpanel, the focus changes.
To reproduce: open the project and run MAIN.vi. run and click the "Loop Enable" button. Then try to edit the "Milliseconds to wait" control. You'll see that the focus shifts away from the control. Is there a way to do this while keeping focus on the control (hopefully without getting reference to the control, letting the subpanel wrench it away, and then shifting focus back to the control. I want to avoid this because it'll change the cursor position)?
I also tried disabling every control on the subvi that loads into the subpanel but that didn't change anything.
I ended up using an animation sequence in a picture control inside a parallel loop in the main vi. The block diagram's a little busier now but at least the key focus remains unchanged.
Thanks for trying to help!