Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Constants
Message
De
12/08/1999 13:19:06
 
 
À
12/08/1999 12:15:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00252941
Message ID:
00253096
Vues:
25
>It's worse for Visual classes; each method needs to have the #DEFINES it uses declared in it.
>
>An easy method to address this is to create a .H file containing your #DEFINES and #INCLUDE that file whereever it's needed. In VFP6, a new system variable, _INCLUDE, was added to VFP; if you put the name of a file in this variable, it will be automatically included and available to everything.
>

Just to add- forms and visual classes both have a place to specify form wide and class wide INCLUDE files. In the form editor, look under the Form menu item, in the class designer, look under the Class menu item for "Include file..."
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform