[RichTextBox] avoid editing - scroll to a given row

T

teo

hallo
I'm with vs2005 fw 2..0

is there a way to "freeze" the richtextbox,
so to avoid user from editing it?

I can Enable=False,
but it no more scrolls and the font-color becomes grayed.

In short,
I'd like to have a full readable richtextbox, but not editable.

--------------

Another slightly related question:

the Richtextbox is set to NoWordwrap

I have a lot of written rows,
I know the text of a row,
is there a way to set the flashing caret to that row
(assuming there are not duplicates)?

My aim is to scroll the richtextbox
to have a given row inside the visible area (about in the middle)
 

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