Computing.Net > Forums > Programming > Vb easy question

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Vb easy question

Reply to Message Icon

Name: MD80'er
Date: November 14, 2002 at 10:34:22 Pacific
OS: win98
CPU/Ram: 1300/256
Comment:

My problem is that I have selected a font in the Form properties and now ALL the boxes, combos labels, etc, appear with that font, although they have different fonts individually. How can I restore "individual fonts"??



Sponsored Link
Ads by Google

Response Number 1
Name: Jeff J
Date: November 14, 2002 at 22:28:03 Pacific
Reply:

You must be working in VB.Net, since that is the behaviour with the .Net languages. By default, child windows (controls) inherit the font of the parent form, unless a control's font has been specifically changed.

Select all the controls on your form at the same time (hold down CTRL while selecting with your mouse). Go into the properties window, and select the font you want them all to have. Those controls will then have the font you want them to have, without the form's font being changed. After that, changing the form's font will no longer affect the controls.

Cheers


0
Reply to Message Icon

Related Posts

See More


How to find yesterday's d... What API and OS???



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Vb easy question

VB Totals www.computing.net/answers/programming/vb-totals/4655.html

VB.net question www.computing.net/answers/programming/vbnet-question/7997.html

VB.NET question: an error www.computing.net/answers/programming/vbnet-question-an-error/8093.html