Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing Objects (VFP6.0)
Message
De
08/08/2003 04:14:13
 
 
À
08/08/2003 03:39:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00816763
Message ID:
00818102
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform