LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Prompting user input in LabVIEW

We've written a number of VIs that require user input, and we'd like for the user to be able to begin typing right away, rather than having to use the mouse or the Tab key to move the cursor to the first text field. What's a good way of doing this? Thank you very much.
-Dan
0 Kudos
Message 1 of 4
(2,897 Views)
Use the Key Focus property to set the focus on the input string. The input string will be automatically selected
0 Kudos
Message 2 of 4
(2,897 Views)
You can use the KeyFocus property node. On the block diagram, right click
on the control and add a property node. Right click on the lower part of
the node and change the property to KeyFocus. Wire a True boolean to the
property.

"Arrington" wrote in message
news:506500000008000000D4C40000-1078497998000@exchange.ni.com...
> We've written a number of VIs that require user input, and we'd like
> for the user to be able to begin typing right away, rather than having
> to use the mouse or the Tab key to move the cursor to the first text
> field. What's a good way of doing this? Thank you very much.
> -Dan
>
Message 3 of 4
(2,897 Views)
Key Focus! Just what I needed. Thank you very much.
0 Kudos
Message 4 of 4
(2,897 Views)