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: 

Key Focus doesn't work after running the program after the first time

Solved!
Go to solution

Hey All,

 

When I run my program for the first time, it can focus on the string and I can start typing. Once I click enter it finishes the program. However once I run my program again, even tho the key focus black rectangle is still on the string, it doesn't allow me to type until I click on it. I tried the solution of bringing the window to the front but I am unable to solve this.

 

 

Thank you,

TK

 

0 Kudos
Message 1 of 3
(439 Views)

Using LabVIEW 2023 Q3, I am not seeing the behaviour you described. I can type straight away every time I run the VI.

0 Kudos
Message 2 of 3
(426 Views)
Solution
Accepted by topic author Teekayy

Hey ZYOng,

 

I figured it out, I just had to set focus to the window as well by changing the window appearance to dialog and customize it to be modal. 

0 Kudos
Message 3 of 3
(423 Views)