NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
damos
Posts: 21
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,112

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: 21
0 Kudos

Re: Set cursor in Control String component

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

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page