Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: skip the Assign destroy object or fire a C5 crash
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00893546
Message ID:
00894387
Views:
18
>>>_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
Previous
Reply
Map
View

Click here to load this message in the networking platform