Article ID: 134641
Article Last Modified on 2/15/2000
VCR.cmdTop::ClickIn this particular case, the actual name of the parent class (VCR) and the member of that parent (cmdTop) must be explicitly used in order to properly reference the object where the method to execute is located. The second example, =EVAL(this.ParentClass + '::Click()', on Page 272 causes a "Missing Expression" error message. The syntax should be:
=EVAL(This.Parent.Class+"."+This.Name+"::click()")In this example, This.Parent.Class evaluates to VCR, which is the container Class. And This.Name evaluates to the name of the current object (cmdTop). The result of the evaluation is the same message identified in the first example, VCR.cmdTop::Click.
Additional query words: 3.00 VFoxWin OOP
Keywords: KB134641