LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to highlight All text in Control / Indicator?

Solved!
Go to solution

 

I need a  VI, that pressing a button I could select all text in control or indicator to be able to copy it then by pressing CTRL + C.

 

 I tried playing with Property node with select-start, select-end, but no results.

 

Also didn't find any documentation or examples on how to highlight text in indicator.

 

 

Could anyone help with this?

 

Any advice/tip much appreciated. 

Thanks in advance.
0 Kudos
Message 1 of 3
(6,247 Views)
Solution
Accepted by topic author ACiDuser

The help for 'Selection' mentions that you need to set Key Focus to the control first.

 

Also there is a system method to copy a string to the system clipboard.

SelectString.png

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 3
(6,238 Views)
Thank you! And writing directly into clipboard is even better, thanks to your tip I found where it is!
0 Kudos
Message 3 of 3
(6,234 Views)