Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / November 2004

Tip: Looking for answers? Try searching our database.

Can I set font for overall project?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matthew Speed - 07 Apr 2004 00:40 GMT
I am developing a Windows Forms app.  Every control I add defaults to
MS Sans Serif 8pt Regular.  Is there some way I can modify this on a
per project basis so that I don't have to set the font for every
object if I happen to want this particular app in Comic or Arial?
(Yes, I know I could write a routine that did a For Each over the
entire collection of controls and changed the font.  I suspect that
would hit all of them though and I don't necessarily want to change
every one.  I just want to make it so that it defaults to something
else.)

TIA
Darwin Abustan[MSFT] - 29 Nov 2004 06:14 GMT
>I am developing a Windows Forms app.  Every control I add defaults to
>MS Sans Serif 8pt Regular.  Is there some way I can modify this on a
[quoted text clipped - 5 lines]
>every one.  I just want to make it so that it defaults to something
>else.)

There is no interface where you can  set the default font for the entire project.

However, you can change the font of the form before adding any controls. Any controls that you add after changing the font of the form will inherit the parent form's font.

Darwin Abustan
Support Engineer

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.