From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to select focus for specific front panel

If I'm understanding correctly the simple answer is in the System Exec set up

 

untitled.PNG

 

That Boolean make the function fire the command and exit


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 14
(1,418 Views)

Hi Guys

 

 

Bring to front seems to be only working when inside the dev env or when working within the same .exe file, so I doubt it is at all possible to do what I started asking.. As this is not mission critical, but more of a "nice to have" feature, I'm not going to spend more time on trying to solve it. 

 

Thanks for your inputs, as always the ni forum is a very good place to gain added knowledge to a project. 

 

b.r.

Jacob

 

0 Kudos
Message 12 of 14
(1,408 Views)

Here is one "dirty" trick for this issue.

Maximize/Minimize FP and than set it to Standard again.

You will get focus back to your exe.

Maximize and Minimize LabVIEW Front Panel Programmatically 

Message 13 of 14
(756 Views)

Thank you - love that you dug out this year old post and took time to present a solution. 

We ended up catching input from the keyboard and if anything is pressed during boot, program will go into setup. Thus removed all the risk of other windows being selected in the process. As we just monitor if there is input, we don't "steal" it from any other program the user may choose to use during load-up.. 

 

0 Kudos
Message 14 of 14
(734 Views)