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

Forum statistics

Threads
474,262
Messages
2,571,044
Members
48,769
Latest member
Clifft

Latest Threads

Top