Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing variables
Message
De
19/02/1997 22:28:32
 
 
À
19/02/1997 16:41:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00021081
Message ID:
00021229
Vues:
41
>>how do you pass variables between 2 different forms. The problem I am having is that I have 2 form each with a private data session. I want to assign the current record number to a variable and pass that to the other form. any suggestions. thanks fot the help.
>Don't forget the ever popular PUBLIC memvar. While the new Visual world seems appalled by medieval programming traditions, this is one that will solve many problems if not abused.
>The variable can be set PUBLIC in the LOAD method of either form (but not BOTH!)
>HTH

I Hardly use Public Variables, instead I add properties to my application class that they will be available for all forms as public variables.
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform