ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to return cursor to focused string control?

I have attached a VI.
In this VI run, I type in a number to the first string control, the cursor will automatically jump to the next string control. However, if I type in a letter, there is a dialog pop up to inform about the correct response, then I want the cursor to return to the focused (first)string control. How do I make the cursor to return to the focused (first) string control?
0 Kudos
Message 1 of 3
(3,174 Views)
Hi,
I have made some changes to your VI to make it do what you are trying to do.

Sincerely,
FerozP
Message 2 of 3
(3,174 Views)
Hi FerozP,
It works really good and it is a lot simpler. thanks
I still don't understand why my keyFocus doesn't work.
If I would like my number of batteries from 1- 111. what do I need to change? (beside the upper limit)
0 Kudos
Message 3 of 3
(3,174 Views)