Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PARAMETERS: Passing form object to programs
Message
De
24/03/1997 12:05:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
PARAMETERS: Passing form object to programs
Divers
Thread ID:
00025411
Message ID:
00025411
Vues:
61
I would like to pass the name of the form to a program so I can reference the properties of the form from the program. Example:

Let's say in the form:
thisform.prpUserName="FRED"

THISFORM.BttnOK.Click()
DO prg1 WITH thisform


* prg1.prg
LPARAMETERS p_App
WAIT WINDOW p_App.prpUserName

I was going to post this as a question ... how to do it. But I tried it and it works as is. Figured I might as well post the message anyways.

Gene Berger
Nationwide Warehouse & Storage
Columbus, OH
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform