Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New method within a class
Message
 
 
À
12/04/2009 23:48:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01394482
Message ID:
01394560
Vues:
112
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform