disable scrolling rich text box

G

Guest

Hi
I like to replace a character at the click of mouse. My main problem is when
I click on the characters that need to be changing the richTextBox will
scroll up make it very distracting. Is there anyway that I can disable
scrolling?
Here is what the simple code

aRichtext.Text = aRichtext.Text.Remove(position, 1)
aRichtext.Text = aRichtext.Text.Insert(position, "N")
aRichtext.Select(position, 1)

aRichtext.Text.Remove causes it to scroll to first line, that is why I use
select it help a little but not completly. Still screen jumps as uses click
on the character that I need to change. Any help will be appreciated.

Thanks
Al
 

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

Top