Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form's problem
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00216559
Message ID:
00217597
Views:
23
Fred,

NODEFAULT only prevents the VFP BaseClass behavior from occuring automatically at the end your overridden code. There isn't anything inconsistent about it at all. Sometimes though the BaseClass behavior can undo work you've done in method code in this case you can NODEFAULT, explicitly call it with BaseClass::Method() and then the rest of your method code.

>There seems to be some inconsistancy in the way parent class code is executed, or at least in my understanding of it. Sometimes NODEFAULT is required to prevent the execution, other times, it is not.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform