Rich Text Box did great!
Here is Hello World written to MyRichTextBox
rtbMyRichTextBox.SelectionFont = New Font("arial", 12,
FontStyle.Bold)
rtbMyRichTextBox.SelectionColor = Color.Red
rtbMyRichTextBox.SelectedText() = "Hello "
rtbMyRichTextBox.SelectionFont = New Font("arial", 10,
FontStyle.Bold)
rtbWordSentence.SelectionColor = Color.Black
rtbMyRichTextBox.SelectedText() = "World"
[quoted text, click to view] >-----Original Message-----
>Hi Bob,
>
>In my opinion you can use GDI, however when it was my
problem I would first
>look what the Rich Text Box could do for me. (I never
have done this
>problem)
>
>Cor.
>
>
>
>.
I take it that "locked" means to set the Rich text Box
Property: Read only set to true
But what does "set to arrow mean"?
Just wondering.
Thanks!
[quoted text, click to view] >-----Original Message-----
>* "Cor Ligthert" <notfirstname@planet.nl> scripsit:
>> In my opinion you can use GDI, however when it was my
problem I would first
>> look what the Rich Text Box could do for me. (I never
have done this
>> problem)
>
>Full ACK. The RichTextBox is the way to go (locked +
cursor set to an
>arrow etc.).
>
>--
>Herfried K. Wagner [MVP]
><URL:
http://dotnet.mvps.org/> >.
Hi Bob,
The cursor is the mouspointer, that is normal the Arrow, so you can set that
to an arrow for that box
\\\\
Me.RichTextBox1.Cursor = Cursors.Arrow
////
Cor
* "Cor Ligthert" <notfirstname@planet.nl> scripsit:
[quoted text, click to view] > The cursor is the mouspointer, that is normal the Arrow, so you can set that
> to an arrow for that box
> \\\\
> Me.RichTextBox1.Cursor = Cursors.Arrow
> ////
ACK. In addition to that, we must prevent the user from selecting
text... I am not sure at the moment how to do that.
--
Herfried K. Wagner [MVP]
Don't see what you're looking for? Try a search.