Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with child class
Message
From
13/12/2006 09:25:56
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Problems with child class
Miscellaneous
Thread ID:
01177142
Message ID:
01177142
Views:
61
Situation:
Parent Class Recal Method(param1) - has code
Child Class Recal Method(param1) - has code which overrides parent class
Grandchild Class Recal Method(param1) - has no code so calls child class recal
For five years the Grandchild class Recal Method automatically called the Child Class Recal method. Yesterday, it stopped working. Tracing thru the app when the grandchild class recal method was hit, it just went to the next line. I thought that I must have somehow inadvertantly lost some code in the grandchild class, so I looked back at older copies and discovered the older working versions of the code are EXACTLY the same as the current version which no longer works. I was able to restore the code to working order by putting the line DoDefault(param1) in the grandchild class. Can anyone explain this to me? There was absolutely nothing ( no spaces, no text) in the grandchild class other than a parameter. The parameter has always been there.

To tell you the truth, I did not sleep well last night. I am beginning to lose the faith. This appears to be completely random, and I really need to come up with an explanation. Thanks!
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Next
Reply
Map
View

Click here to load this message in the networking platform