Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A function to use ThisForm. etc
Message
 
À
29/11/2000 16:04:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00447015
Message ID:
00447020
Vues:
9
Sure John,

There are several ways to accomplish this. One quick way is to pass the form to the procedure as a parameter. i.e. DO MyProcedure WITH ThisForm. Put a parameter at the top of your procedure, something like toCallingForm. Now you can use the form in your procedure, example: toCallingForm.Caption = "Procedure changed this."

HTH
Marty


>I need to write a function that i can call that addresses object properties, but VFP tells me that ThisForm. etc can only be used in object methods. is there a work around??
>tia - john
Marty Smith, CSQE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform