Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of #DEFINE in form methods
Message
 
 
À
26/03/2003 11:45:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00770203
Message ID:
00770369
Vues:
10
No, it's by design.

You can put your #DEFINEs in a header file and include that in the class or form and they'll be available everywhere. (From the Class or Form menu, choose "Include File".)


>Hi Tracy,
>
>Thanks for the tip about using a different variable name, I'll do that.
>
>However, I've remembered an interesting point about my query. The help for #DEFINE states that it only works within the method in which it is, not any of the other methods of the form.
>
>Is this possibly a bug??
>
>Stewart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform