NI Home > Community > NI Discussion Forums

LabVIEW

Showing results for 
Search instead for 
Do you mean 
Reply
Member
damos
Posts: 26
0 Kudos

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!

 

Active Participant
PhillipBrooks
Posts: 1,189

Re: Set cursor in Control String component

[ Edited ]

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

Member
damos
Posts: 26
0 Kudos

Re: Set cursor in Control String component

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