Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference to thisform not working ?
Message
 
 
To
10/11/2004 15:22:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00960020
Message ID:
00960208
Views:
10
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform