Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why use classes?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00188144
Message ID:
00188157
Vues:
20
>I recently created a data entry form and I used the _base.vcx classes that I added from the class lib that comes with VFOX and I dont understand how to use them. I usually use the one that ships with fox (standard) on the toolbar. What are the advantages/disadvantages and how do I use them. I see there are other classes as well in the Ffc directory. How do I create my own?
>
>Thanks
>Anthony

Hi Anthony,

The FFC classes are there so that VFox is more productive right out of the box. The _base.vcx is something that just every experienced Fox developer will advise - "subclass the base classes". This allows you an entry point if you need to change something. For example, you've got the app all done but the user wants all labels in blue lettering. Simply go to the _label class in the _base.vcx and change the forecolor.

How to use them? Anyway you want. I personally copy the _base.vcx and a couple of others into each app's directory. That way a change doesn't affect any other apps and i have my original. You can do whatever you want.

Have fun!
Paul G Brown, MCSD
Paul G Brown
paul@paulgbrown.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform