Select especific line from textbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can i select (highlight) an especific line in a textbox??
--
- Starving to learn
and
Happy to help -

Victor :)
 
VBA,

There are plenty of textboxes inside Microsoft system which can all be used
with .Net (sometimes using interoperability) assuming hat it is a
windows.forms textbox than the answer is simple.

Just set the SelectionStart and SelectionLength properties.

I hope this helps,

Cor
 

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

Similar Threads


Back
Top