Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to thisform not working ?
Message
De
12/11/2004 15:54:08
 
 
À
11/11/2004 09:29:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00960020
Message ID:
00961016
Vues:
7
I am aware of that. the contol in question is a container which does not have a load method.
Also if I add set step on, I can the the activeform in the watch window...

_vfp.activeForm.oCLaimnt is properly recognised, just thisform.oClaimnt is not.
>AS established, _vfp.activeForm is a reference to the active form in VFP. Called from the load() event thisform and _vfp.activeForm will not refere to the same form. You are creating your object in the activeform not the form being instantiated.
>
>The load event is fired before the init() event so the form does not yet exist. To demonstrate this in the load() event place :
>?_vfp.activeform.name
>?thisform.name
>
>HTH
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform