By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,353 Members | 1,237 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,353 IT Pros & Developers. It's quick & easy.

[RichTextBox] avoid editing - scroll to a given row

P: n/a
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)

Aug 7 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"teo" <te*@libero.itschrieb:
I'd like to have a full readable richtextbox, but not editable.
Set the control's 'ReadOnly' property to 'True'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Aug 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.