Herfried
Tue Jul 19 09:46:12 CDT 2005
"redneon" <redneon@discussions.microsoft.com> schrieb:
>> No, a TextBox can only have a single Font, and therefore only one size,
> color,
> shape etc. You can use a RichTextBox though.
>
> I was thinking more along the lines of overriding the paint method of the
> control. Would this not allow it?
The TextBox control is drawn by Windows, thus it's not as easy to implement
the functionality you want to archieve. I suggest to use the RichTextBox
control instead of the textbox too.
--
M S Herfried K. Wagner
M V P <URL:
http://dotnet.mvps.org/>
V B <URL:
http://classicvb.org/petition/>