Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform can only be used in method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00604149
Message ID:
00609309
Vues:
15
Check to see if a method in the control or form is calling a procedure or function that is located in an external procedure (*.prg) file. 'THISFORM' or 'THIS' doesn't work in external procedures or functions, even when they are called by object methods.

If this is the case, but you still need to manipulate the form in the procedure or function, try passing an object reference of the form to the external function or procedure instead. My guess is the reason why you didn't have an error on the first or second try is that either the event or conditions that result in the external function or procedure call did not occur (or maybe the third time was the charm...).

Hopefully this helps,

Thomas Allan
Thomas Allan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform