Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing a form control's parent method
Message
From
10/12/1997 11:25:41
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00065004
Message ID:
00065014
Views:
58
>I have a container class on my form called commandbutton. The click method has the code: thisform.recAdd()
>Included in the code for Thisform.recAdd is:
>
>Thisform.commandbutton.parent.disableupdate()
>
>Disableupdate is a method of class commandbutton. But I get error 1734 - "Property DISABLEUPDATE is not found"
>
>How should I be referencing this method?

Thisform.commandbuttun.parent references the form.
If you need to reference the commandbutton, just use thisform.commandbutton.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform