Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's the DEFINE scope?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01028851
Message ID:
01028852
Vues:
12
Pablo,

In your prg files, you'll need to do an #INCLUDE myIncludeFile.h and in each of your visual classes, you click the Class menu, then Include file and browse to it to have it included in all of the methods of that class.

HTH,
Chad

>Hello,
>
>I have a constants .h file.
>And I need those constants to be avaible from every single object. Everywhere.
>
>Yes, I've saw _INCLUDE, but it seems doesn't work as I've expected. COnstants are now recognized from iside the object.
>
>So, I have :
>a constants.h file
>a cst class that's a custom subclass, and many other subclasses with many methods each.
>
>I want to be able to use those constants there.
>
>Do I need to type #Include in every method? What's the best solution?
>
>Thanks in advance!
>Pablo S.
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform