General information
Category:
Coding, syntax & commands
Mark,
I can shed some light on this one. I had exactly the same problem and it drove me crazy !
IT IS A DEFINITE FOXPRO BUG ! I use VFP 5.
After looking at the history of my classes I noticed that at one point the missing method had been a "hidden" method in the original class, for experimentation purposes. It had been put back to PUBLIC but I was still experiencing this crazy situation where with some subclasses I could see the method and others I could not.
I tried deleting the method and re-pasting it in but that did not make a difference.
The only thing that worked was :
--------------------------------
1) Copying the code in the method.
2) Deleting the method.
3) Creating a method with a new name. Make sure it is a PUBLIC method.
4) Pasting the code into that new method.
5) Doing a REPLACE ALL ACROSS ALL OBJECTS of the explicit references
to the old method, by explicit references to the new method.
That corrected my problem.
Michel.
=================== Original message follows ======================
>>Paul,
>>If you mean you don't see them in the class designer, that's because you won't- they are inherited by default at run time.
>>
>>Mark
>>
>
> So how do I override the method? Why would some of the parent's methods show up, but not others? Is there a way to force them to appear?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only