Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relative Control Referencing
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00103404
Message ID:
00103410
Views:
33
Thx, Barbara, I'll try that. I was passing quotes and it was not interpreting th e command properly.

Bill

>>>Bill,
>>>Finally, if you are calling a createobject() or similar code in the method you can pass 'this' or 'this.parent' as parameters to the method, which will pass the complete object reference of the calling control or its parent respectively.
>>
>>This is along the lines of what I want to do. In the method I am calling, which is at the Form level, I need to run the statement:
>>
>>Thisform.Pageframe1.(whatever Page I'm on).(whatever control I'm on).Addnode(x,x,x)
>>
>>Since this method will be called from different page numbers, it has to know where it is adding the node.
>>maybe this makes more sense.
>>
>>Thx,
>>
>>Bill
>
>Bill, then try passing 'this' (without the quotes)
>
>thisform.MyMethod(this.parent)
>
>
>You should be passing a reference to the parent of the control calling the method, which would be the page the control is on.
>
>HTH
>Barbara
CySolutions, Medical Information Technology
You're only as good as your last
success, so . . .If it works. . .don't fix it!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform