Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving from vfp50 to vfp30 and having display problems
Message
 
À
29/07/1997 16:35:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00042146
Message ID:
00042277
Vues:
26
>thanks Jim for answering and I will remember to include error
>messages with the problems I am having. I would lile to put
>the problems I am having with MESSAGEBOX on hold for now.
>I need to take care of the problem I am having with the FONTS.
>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

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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform