Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initial value of property.
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00480604
Message ID:
00480991
Views:
8
Hi Bill.

>When creating a class if you set the initial value of a property to the result of NEWOBJECT or CREATEOBJECT, although the reference will exist you will be unable to access any of the properties or methods that belong to that object.

Why not instantiate the object in the Init of the class rather than in the initial value of the property?

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform