Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question about methods
Message
De
30/07/1998 13:43:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Newbie question about methods
Divers
Thread ID:
00122766
Message ID:
00122766
Vues:
60
Hi All,

I feel stupid asking this question, but I am just learning VFP. It seems that most methods for custom controls are stored in the class library file. However some samples which I have seen lately seem to handle some methods in a different way. Some of the methods for some specific controls are defined only after the control is placed on a form. This kind of method is apparently not part of the class definition. I am confused.

When you modify a method of a control after it has been placed on a form, where is the code stored? What are the reasons why you would want to use this kind of a method rather than including the method in the class definition? With this approach, it almost seems like the form becomes very much like a class definition.

Please help me understand.

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform