The code is carried over but you don't see it. When you then put your extra code in your new class, you include the DoDefault() command. This will climb the class heirarchy and do each level of the same method/event. If it then finds a method with code in it, it will run it. This code should also include a DoDefault() if there is code further up the heirarchy.
Confusing isn't it?
>I am new to the VFP environment and I am learning by trial and error. I do recall hearing that creating custom base classes was key in decreasing your development time with VFP. Therefore, I am trying to create my own custom classes. However, when I create a class based on an existing class which already has code contained within it, this code is not carried over to the new class. Is there a way to get around this (other than cut and paste)? I know the code will need to be modified, but it would still take less time I believe to make these changes than to start from scratch. Thank you in advance.