LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change Focus programmatically

Hi,

how can I change the focus programmatically (runtime)? Two VIs are running
at the same time, and I want allow the user to change between those using a
menu bar without stopping the other (because they are synchronized and have
to run all the time - independent of the focus or if both frontpanels are
closed...
--
Have a nice day, RWS 🙂

-- PGP Fingerprint --
660F 9A2E 02B4 9E84 3A23 465B DF29 CE35 C797 F9C7
0 Kudos
Message 1 of 2
(2,538 Views)
> how can I change the focus programmatically (runtime)? Two VIs are running
> at the same time, and I want allow the user to change between those using a

Under Windows, you can use the Move Window to Top.vi from the Window Management
VIs section of the 32-bit Windows Utilities (lvwutil32.zip).

You can grab the 32-bit Windows Utilities from the NI Web site:
http://digital.ni.com/explprog.nsf/websearch/ebf11dd1f0feaef3862566790072a983

Regards,
John Lum
National Instruments
0 Kudos
Message 2 of 2
(2,538 Views)