>>>>>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
Thanks, Ed, and thanks to all of you who answered. This was a very murky question to me, but now I have a clear idea of what is going on....
Tom Hayward
Tom Hayward, Visual FoxPro Programmer and Tutor