LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Returning Key focus on Text ring

I created a VI that executes a set of code in a case structure based on the key focus of a text box. I'd like to replace the text box with a Text ring to limit the users entry options. However The key focus property always returns False for the Text Ring even when being used. How can I get this functionality?
0 Kudos
Message 1 of 2
(2,577 Views)
Since you cannot change the values of a text ring with the keyboard at run time, key focus doesn't pertain.Its similar to a numeric control. If you use the mouse to increase/decrease the value, the control has no keyboard focus. But if you click inside the numeric control to change the value with the keyboard, then the control has key focus. You can monitor the numeric value of the text ring and determine if it changed. LabVIEW 6.1 has the event structure and you can get mouse coordinates. What exactly are you trying to run in the case structure and why are you trying to trap key focus?
0 Kudos
Message 2 of 2
(2,577 Views)