Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to thisform not working ?
Message
 
 
À
10/11/2004 15:22:05
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
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:
00960208
Vues:
11
>>I doubt this is part of your problem...but I notice below that you have something like this:
>>
>>WITH THISFORM
>> WITH .pgf1.page4
>> ENDWITH
>>ENDWITH
>>
>>....I'm not sure about this, but I don't think you can put With's inside With's like that....it might be causing some strange behavior???
>
>You can, and it doesn't hurt. I don't think this is what's causing the problem.
thisform.oObject = createobject(...) && I never used this construct before 

* I used 
loObject = createobject(...)
if vartype(m.loObject) = "O"
   thisform.myObject = m.loObject
endif
or used NewObject method instead
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform