Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private variables for use in a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00226017
Message ID:
00226023
Vues:
31
Well, Its now old to use private varibles in our forms. Create form's property and use it anywhere in the form.

The answer of your question :

Define them in the Load() not in Init()


>I have a form with some memory variables that I only need while the form is in use. In the init method, I set them all to .f. since they are for check boxes. The form runs fine, but then when I do a comparison with one of the variables, I get datatype mismatch, and in the debugger I see the value of the variable is 1, not .t. What's up with that? Thanks! Marvin
- Jayesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform