Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to thisform not working ?
Message
De
11/11/2004 09:29:18
 
 
À
10/11/2004 13:07:28
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:
00960411
Vues:
8
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform