LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert text at cursor position in a string control

I have an application that has a string control on the panel with text in it. I'd like to, somehow, allow the operator to click the mouse at a position within that text and then click a button, on the panel, that would insert additional text at that position.
 
The more I've thought about it, the more difficult it seems. Any suggestions on how to do this would be appreciated!
0 Kudos
Message 1 of 2
(3,712 Views)


@Jim77215 wrote:
I have an application that has a string control on the panel with text in it. I'd like to, somehow, allow the operator to click the mouse at a position within that text and then click a button, on the panel, that would insert additional text at that position. ...

You could make use of the Text.Selection property for the string control.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 2 of 2
(3,699 Views)