|
-
May 11th, 2008, 07:41 PM
#1
Thread Starter
New Member
[2005] Changing the font in a text box, by selecting properties in a list box
I have a text box that users are inputting text into. Then, but selecting from the right, they can change the size, color, and the font that is displayed in the text box.
I'm totally lost on how this should be done!
-
May 11th, 2008, 08:30 PM
#2
Re: [2005] Changing the font in a text box, by selecting properties in a list box
I'd probably suggest using a FontDialog to do the heavy lifting. If you really want to do it yourself then you need to create a new Font object, setting its property values implicitly via the constructor, and then assign that to the control's Font property.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|