Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with child class
Message
From
13/12/2006 09:43:03
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
13/12/2006 09:25:56
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01177142
Message ID:
01177149
Views:
10
Hi Calvin,

A single space ih the Grandchild Class will stop the method call down the tree. You might try putting a dodefault() in the grandchild class and see what happens.


>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!
Previous
Reply
Map
View

Click here to load this message in the networking platform