>>Hi everyone,
>>
>>I've spent about an hour debugging some problem and want to share my findings in case, somebody would be in this trouble. I have a class btcc_group, which is based on another class btcc_container. In the btcc_group class I created a method called btcc_ListSelect. In this method I placed some code and this code ended by dodefault(). This dodefault() was a problem, since I don't have this method in the parent class. Spent a long time working on this problem, since custom Error Handler interfered the process of debugging.
>>
>>Watch out! :)
>
>Nadya;
>
>Interesting! Yes, I can see why there would be a problem. I have placed code before a DoDefault() in the child object required by the parent, and then additional code needed by the child after the DoDefault().
>
>Too bad we cannot call This.Child.MyMethod() just before the DoDefault() :)
>
>Anyway, it is always good to hear what someone has found in case we get bitten in the future! :)
That's why it's usually a good idea to add the methods as blank methods in the upper class, or at least as high as it makes sense. The blank method is just to declare the interface, and have some comments on its purpose.