RichTextBox insertion cursor

  • Thread starter Thread starter anonymous
  • Start date Start date
A

anonymous

is there a way to surpress the insertion cursor in a rich
text box? for instance, i might want a RichTextBox to
display some text as a Label would-- readonly, no
insertion cursor though text could still be selected.

help!
 
The RichTextBox class derives from TextBoxBase, which has a ReadOnly
property. If you set this to true, then it should prevent any editing of
the content (while allowing for copying from the Rich Text Box).

Hope this helps.
 
Nick, setting ReadOnly = true still leaves the insertion
cursor visible.

-----Original Message-----
The RichTextBox class derives from TextBoxBase, which has a ReadOnly
property. If you set this to true, then it should prevent any editing of
the content (while allowing for copying from the Rich Text Box).

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

is there a way to surpress the insertion cursor in a rich
text box? for instance, i might want a RichTextBox to
display some text as a Label would-- readonly, no
insertion cursor though text could still be selected.

help!


.
 

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

Back
Top