Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having the projecthook's BeforeBuild cancel the build
Message
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00654493
Message ID:
00654533
Views:
18
The code in subclass method overwrites code in the parent class but it doesn't overwrite or prevent VFP default behavior.

>Guess i'm missing something here but if i have code in a subclassed method that i need to run and THEN have the parent class code run, AND i dont call a DODEFAULT, the parent code wont run. Adding NODEFAULT stopped the build, but i didnt need to add a DODEFAULT to continue the build.
>
>>>Sergey:
>>>
>>>That worked. Thats interesting cuz that means its an implied DODEFAULT() even though my code never calls a DODEFAULT.
>>>
>>
>>Chris,
>>
>>No, there's no implied DODEFAULT() call. DODEFAULT() function is used to calls parent's method of the class. NODEFAULT command on other hand prevents default VFP behavior to be executed.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform