469,928 Members | 1,873 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,928 developers. It's quick & easy.

How set default font size for labels and text boxes

When placing labels and text boxes on winforms they are coming up by default
in a size that is just a little too small. How do I change this so that in
the future they will come up with a bigger font size?

Nov 20 '05 #1
2 14451
This also works if you change the default font size on the form.

"Kevin Yu" <v-****@online.microsoft.com> wrote in message
Hi Woody,

You cannot change default font size for the Textbox in Visual Studio .NET
IDE. However, you can change the container's font property to achieve this.
For example, you can place a panel in the form and set the font of the
panel to your default size. After that, each time you drag a control onto
that panel, the control's default font size will be the same as the panel's.
If there's anything unclear, please feel free to reply to the post.

Kevin Yu
"This posting is provided "AS IS" with no warranties, and confers no

Nov 20 '05 #2

"Jerry" <Je*********@yahoo.com> schrieb:
This also works if you change the default font size on the form.

The form is a container.

Herfried K. Wagner
MVP VB Classic, VB .NET
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

55 posts views Thread by Haines Brown | last post: by
1 post views Thread by VR | last post: by
3 posts views Thread by =?Utf-8?B?VG90eSBTYW50YW5h?= | last post: by
2 posts views Thread by Mike Borrowdale | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.