Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing Objects (VFP6.0)
Message
From
08/08/2003 04:14:13
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00816763
Message ID:
00818102
Views:
16
>Hi Kevin,
>
>>
>This was doing my head in so much I just opted for the Access/Assign methods in the BizObj property of the container which will assign/request using the Form object directly, rather than holding an additional reference, all works ok now.
>>
>
>Bit of overhead each time it's referenced I suppose - but at least fool-proof. Don't know which version of VFP you're using but, if you remember, when Access/Assign methods were first introduced (VFP6?) there was a problem when using them with objects ( I think the reference count didn't decrement when .NULL. was assigned). Can't remember when this was fixed - certainly by VFP7.
>
>Regards,
>Viv

Viv

Thanks for the warning, I'm using SP5, so might be OK. For this particular control I won't be assigning .NULL.value, I'll be careful.

Kev
Previous
Reply
Map
View

Click here to load this message in the networking platform