Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's the diff: this:: vs. this.parent.
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00211896
Message ID:
00211902
Views:
24
>I do not understand what the difference between the :: operator and the 'parent' property. Can some one please enlighten me?

With .Parent you reference the parent object (the container object that is). With :: (or DoDefault()) you refer to the parent Class.

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform