Insert text at cursor position

M

Matt Tapia

Is there a way to insert text into a multi-row textbox where the cursor
position is at in the multi-row textbox?

Just wondering
 
C

Chris Taylor

Hi,

You can set the SelectedText property to the text you want to insert, if
there is no text selected the text is inserted at the current caret
position.

Hope this helps

Chris Taylor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,121
Latest member
LowellMcGu
Top