Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fonts in vfp30
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Fonts in vfp30
Divers
Thread ID:
00042616
Message ID:
00042616
Vues:
75
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform