The Parent property gives you the parent container of an object. For example, the parent of a column is the grid in which it is contained. The scope resolution operator (::) allows you to call a method higher in the class hierarchy. For exapmle, if you have a button created from the MyCmdSub class which is a sub-class of the MyCmd class you can call the MyCmd class click event from the button using MyCmd::Click(). The VFP 5 and later DODEFAULT eliminates much of the need for :: because it gives you an easy way to call the method one level up in the class hierarchy which was the most common use for ::.
>I do not understand what the difference between the :: operator and the 'parent' property. Can some one please enlighten me?
>
>^Carl