M Morten Wennevik Jul 19, 2005 #2 Hi redneon, No, a TextBox can only have a single Font, and therefore only one size, color, shape etc. You can use a RichTextBox though.
Hi redneon, No, a TextBox can only have a single Font, and therefore only one size, color, shape etc. You can use a RichTextBox though.
G Guest Jul 19, 2005 #3 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?
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?
H Herfried K. Wagner [MVP] Jul 19, 2005 #4 redneon said: 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? Click to expand... 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.
redneon said: 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? Click to expand... 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.