LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto select string control

Solved!
Go to solution

I have a text input box that appears to the user for information to be entered - this will be done via a barcode reader, however it does not work because in order to enter the text (barcode) a user must select the string control box where the text is to be enter - my question therefore is how do I automatically select the text entery box, pressing the tab key also works so is there a way of sending the {tab} command to the VI?

 

Thanks 

0 Kudos
Message 1 of 3
(4,215 Views)
Solution
Accepted by Giuseppe999

If your question is how to attribute a focus to your control, the solution is a proprity (right click on your control>>create>>property node>>Keyfocus).

 

Cdt 

Reg
Message 2 of 3
(4,196 Views)

You can find some discussion about sending keys by searching this forumSmiley Wink  I found a useful download here (in this discussion thread).  You could also set the focus to your string control with a "KeyFocus" property node.

 

Jim

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 3 of 3
(4,194 Views)