This message serves for Google indexing. It only includes the first message of each thread from technical forums. To see the entire thread, the solutions and the technical content related to each message, you need to log in by going to the main page. This can be done at http://www.universalthread.com. If you do not have an account, we encourage you to create one now and start participating in Microsoft .NET and SQL Server related technology forums, just to name a few. Our database contains nearly two millions valuable high end technical messages. Thanks for the generous contribution to everyone who participated on the site so far, including MVP, Microsoft employees and many other well known contributors. The valuable content of the Universal Thread has created a history of 16 years of high end technical content which has helped many consultants, developers and many others in the industry on a daily basis. The site also offers a subscription option that greatly enhances your site experience.


View message
From31/07/1997 11:28:21
Robert Keith #010553
Independent Developer
San Antonio, Texas, United States
To
Janis Booth #012334
Webmd
Prospect, Connecticut, United States


hay Jim
Do you recommend I do this FONT thing using vfp30 and vfp50? or... is this just for vfp30?
thanks...rob



>As fas as the solution to my FONT problem, are you saying to
>get all my FORMS from a class lib? Inotherwords you want me to
>inherit everything?... thanks.. rob


Jim wrote
> Ro=bert,

>Not all fomr in classes, I am saying it is a bad idea to ever put any of the VFP
>baseclasses in your forms. You shoudl ahve, at least, a class library that has one of each
>control you use as a subclass of the base class in it. Even if you change nothing about
>that subclass. This is because you cannot change the default properties for a base class
>to make them what you want for all instances of that class, but you can do that for you
>classes.

>So you need a class library that has a textbox, a checkbox, a combobox, a listbox, etc..
>Use those classes when you build your forms. That way if you want the default font for all
>textboxes in your application to be WingDings Bold 28Pt you just set that as the font for
>yourt Textbox class. The alternative is (if you use the VFP baseclasses in your forms) to
>visit every textbox in every form and set its font.

>JimB
>Microsoft MVP
>Visual FoxPro Trainer/Developer
>Co-author Visual FoxPro 3.0 Unleashed
>*******************
>he reason your fonts changed is because they were set for the default and the defaults
>in VFP 5.0 are the Win95 defautls while the defaults in VFP 3.0 are the Windows 3.1x
>defaults. The only solution is to set the fonts to what you want. This would be very easy if
>you have a class library that all of your forms and controls are taken from.

>JimB
>Microsoft MVP
>Visual FoxPro Trainer/Developer
>Co-author Visual FoxPro 3.0 Unleashed
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com