Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initializing a Variable in a form
Message
De
10/04/2004 17:21:34
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
10/04/2004 17:16:10
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00893560
Message ID:
00893861
Vues:
26
Hi Mike

In the init do THISFORM.AddProperty("MyVar","")

In other methods, you'd reference it by

?THISFORM.MyVar

>Hilmar:
>
>I tried using "property MyVar" in the init of my form and I get an error message when I try to leave the form.
>
>I think the feeling is that I should drop this thing. I can initialize the variable before I come into the form and the form works fine. So if my suggestion is getting into a bad practice, then I will forget it.
>
>Mike Smith
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform