From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set cursor in Control String component

Hello:

 

I would like to set cursor in "Control String" automatically when I open my VI. If I open my VI, cursor should be seen automatically in the text field of "Control String". The user hasn`t set cursor by mouse into this field. Has anybody an idea how can I do?

 

Thanks!

 

0 Kudos
Message 1 of 3
(4,654 Views)

Create a property node for the control on your block diagram and set the Key Focus property value to TRUE.

 

http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/ctrl_key_focus/

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 2 of 3
(4,647 Views)

I didn't know this property. Thank you very much!

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