Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include file
Message
De
03/10/2007 13:48:39
 
 
À
03/10/2007 13:29:30
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01258255
Message ID:
01258290
Vues:
13
>>>I have a form that has an INCLUDE file. I added it through the Form menu. It does not seem to be working as the DEFINE values are not available in the INIT of my form during runtime.
>>
>>Have you verified that this is indeed the correct include file with all the variables defined?
>>
>>You may try to use COMPILE FORM myForm.scx.
>
>Yes, it worked when it was part of a PRG, but now I've split code into the include file and the INIT of a form and the DEFINE variables are not in scope in the INIT.

You can't put code in the include file. It'll never be executed as it will not become part of your method.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform