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

TextBox Issues

P: 3
Hi all,

Does anybody knows how to display text in a textbox with different font sizes for each word displayed in it.... I mean to say


Displaying text "welcome to the world of VS.NET"

Word size

welcome 8
to 9
the 10
world 11
of 12
VS.NET 13

instead of displaying the whole string of font size of 8 or x.
May 2 '07 #1
Share this Question
Share on Google+
1 Reply


SammyB
Expert 100+
P: 807
A TextBox only has a single font. You will need to use a RichTextBox for multiple fonts. See my posts in this thread for examples of how to use the Font object.
May 2 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.