LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate an event when a popup sub vi lost focus

Hello everybody

 

I'm working on a vi using a "home made subvi" virtual keyboard which pops up everytime the user want to change a numeric control.

I want the pop up vi to close properly when the user clicks on the main vi (so as soon as the popup VI lost focus).

 

I can't find a way to retrieve a lost focus event !

 

Could you help me please ?

Thanks ! 

0 Kudos
Message 1 of 2
(2,164 Views)

There isn't a lost focus event that you can register with the event structure. What you can do is use the Timeout case to monitor whether the VI has focus.

Message 2 of 2
(2,137 Views)