Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NoDefault and DoDefault
Message
From
23/04/2001 11:11:01
 
 
To
23/04/2001 11:07:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00498592
Message ID:
00498597
Views:
8
>Could someone please post an explanation of when these two items would be needed? Thanks to all........Rich


DODEFAULT is used when you put code in the method of a subclass and you want the code in the parent class to run.

NODEFAULT tells VFP to not run the default functionality of a method. For example, some developers put code in the keypress method to do specific things on certain keypresses. Normally that keypress would be passed through after that for VFP to process. Putting NODEFAULT in the keypress method does not run the standard VFP functionality.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform