Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking at methods in class.
Message
De
29/08/1997 16:12:47
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00047620
Message ID:
00047686
Vues:
27
>>>>Just starting with VFP 5.0 -- I chose a class (set of command buttons), and I cannot see the methods.
>>>>Any ideas?
>>>
>>>What do mean, you can not see methods?
>>>If you do not see method's code then look in the parent class.
>>
>>Hi Mo - you have come to the right place... We can help you..
>>First, tell us where you are coming from program wise..What
>>program language do you know? What is your background?
>>rob..
>
>Robert, I have been prgmg in FP 2.6 for 7 yrs. Now I have to learn VFP 5.0.
>I did a pilot program (tracking our computers here at work) where I brought in a class with a "button set". When I look at the method windows for any of the buttons, like "ADD", etc. I don't see any methods.
> So, I will be looking at the parent class, as suggested by Mo.
>
>I am also looking forward to meeting as many people as possible at DevCon.

The code code is inherited from that class that it was subclassed from. You will not see the method code in the subclass. If you want to make changes to the base class you have to go there. If you want to make modifications to your subclass but still retain the functionality of your base class, you must use the function DODEFAULT()in your method. Your code will supercede the parent class code if you do not do this.

Ed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform