Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New method within a class
Message
 
 
To
12/04/2009 23:48:21
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01394482
Message ID:
01394560
Views:
111
>Is it correct to put a new method on your class? If yes, how do you call the method with it?
>
>Like I've created a class with a set of button, add, edit, delete etc.
>
>When Add is clicked, I want other buttons to go disable. So I added a new method on that same class.
>
>But I don't know how to call it.. Thisform is obviously not the right command.
>
>Pls help.

If you want to call it from the button, you would call this.parent.EnableControls()
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform