Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dodefault() in custom method
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00578747
Message ID:
00578752
Views:
31
>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! :)

Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform