Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing a form from within a procedure
Message
 
À
09/08/1998 23:28:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125152
Message ID:
00125449
Vues:
11
>Whenever I have a procedure in a .prg file, I cannot get the code to reference a form. FoxPro tells me that the object form is not found. Anyone know how to get around this?
Richard,

Pass the form reference to the procedure as a parameter;

DO MyProc WITH THISFORM

From wihtin the form, in the proc;

LPARAMETERS poForm
poForm.Caption = "This is a test"
RETURN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform