Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: skip the Assign destroy object or fire a C5 crash
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00893546
Message ID:
00894387
Vues:
21
>>>_access and _assign were designed to work with properties, not objects.
>>
>>Hi George,
>>
>>I would not say so, and, as an example, at least THIS_Access method is clearly designed to work with objects. :)
>
>Hey Nick,
>
>Then why is there no THIS_Assign?

Actually there is. :) It just does not fire.

The funny thing is that if you add this_assign method to the class, it will be generated with the following code:
*** test1.This_assign method was generated by Class Designer.

LPARAMETERS vNewVal
*To do: Modify this routine for the Assign method
THIS.THIS = m.vNewVal
How would you interpret and use it is another story. :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform