472,145 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

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 14781
This also works if you change the default font size on the form.

"Kevin Yu" <v-****@online.microsoft.com> wrote in message
news:o0**************@cpmsftngxa06.phx.gbl...
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
rights."

Nov 20 '05 #2
Hello,

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


The form is a container.

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
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
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.