LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean key focus

I have an event case that executes when a boolean is pressed by the user.   In the event I set the property 'key focus' to TRUE for an string control where the user needs to enter information.   The first time the event executes key focus for the string control is not set.  The second time onward, the key focus gets set.  How come it does not get set the first time the event occurs?

0 Kudos
Message 1 of 4
(2,921 Views)

It works for me in LV2012. You might need to turn on execution highlighting to see what's happening in your code.

 

Example_VI.png

0 Kudos
Message 2 of 4
(2,901 Views)

Works for me.

 

keyfocus.png

aputman
0 Kudos
Message 3 of 4
(2,897 Views)

Yup, I've done that many times myself. Can you post an example showing the effect?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(2,878 Views)