codemorphis.com Forum Index codemorphis.com
Software development: pure and simple.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Default Font

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    codemorphis.com Forum Index -> Visual Programming Forum
View previous topic :: View next topic  
Author Message
yodatek2k



Joined: 01 Feb 2009
Posts: 4
Location: New York

PostPosted: Mon Feb 02, 2009 11:41 am    Post subject: Default Font Reply with quote

Hello,

How do I set a default font, and size, for use throughout the entire program? Thanks.
Back to top
View user's profile Send private message Visit poster's website AIM Address
CodeMorphis



Joined: 02 Dec 2003
Posts: 252

PostPosted: Mon Feb 02, 2009 2:15 pm    Post subject: Reply with quote

Hi yodatek2k.

There is in fact supposed to be way to do this but upon verifying this method, it appears that there is a bug that needs to be fixed.

Normally, what you would do is the following:

  • Double-click the Windows Form to bring up its property page
  • Set the Font property as desired
  • For any contained UI component that you want to inherit the Window Forms property, bring up it's property page and delete the Font property (select the Font property data) and delete it

What is supposed to happen is that the UI component will inherit the Font property from the parent Windows Form.

This actually will work now but only on the first setting of the property. You may notice that after you do this and then change the Font property of the Windows Form again, the UI component's Font property does not re-inherity the new Font setting, but rather keeps the old value. You currently have to re-delete the UI component's Font property to make it pull the form's font setting (this is a bug that we will look into).

Also, it appears that when the Windows Form's Font property size is set to a value greater than 8 or 8.25 then each time you close and then reopen the form the form gets re-sized along with any contained UI components. This is an issue that is being addressed.

For the time being you will need to set the font for your UI components directly. We will look into these issues. Sorry for any inconvenience.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    codemorphis.com Forum Index -> Visual Programming Forum All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group