Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public Variable in the form
Message
De
09/07/2001 09:40:27
 
 
À
09/07/2001 09:35:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00528073
Message ID:
00528077
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
Hi,
Add a property to the form. You can then assign the value to the property in the form's init():
*-- form.init()
ThisForm.SomeProperty = "MyValue"
You can then access this value from anywhere in the form like this:
ThisForm.SomeProperty
HTH
>Hi Everybody,
>
>How can I declear a veriable in the beginning of the form so that I can use it anywhere in the form? In Forpro 2.6 for dos, it was very easy. I used to assign some value to the veriable in the beginning of the program and I could assess it anywhere. How to do this in VFP Form?
>
>Thanks in advance
Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform