Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default #INCLUDE file is not being included in my forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00310922
Message ID:
00310947
Vues:
24
>Mike,
> Many thanks. I thought it was that simple. I assume (there's that word again) that I can put this in the base form in my library?

Mike,

The short answer is no. The longer answer is this.

An include file is a set of compiler directives. They are processed when the compiler compiles the source code into pcode. Each class is compiled separately, therefore each class must have its own include file declaration. The include file for the superclass will be used to compile the superclass but it is not used to compile the subclass.

Your _INCLUDE setting will automatically set the include file for classes and forms created after the variable has been set. The include file will not be added to any existing classes or forms. You need to use the Menu's Include file functionality to set an include file for the existing things.

Any new forms or classes you create will use the _include setting to set the include file for those new things.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform