Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Visual Studio 2005

Prevents Visual FoxPro from performing its default event or method processing for Visual FoxPro events and methods.


You can use NODEFAULT anywhere within the event or method procedure. You can also use NODEFAULT in an event or method procedure in the Form Designer. For example, including NODEFAULT in the KeyPress event procedure or function prevents Visual FoxPro from inserting the key press into the Visual FoxPro keyboard buffer. Therefore, you can create a KeyPress procedure so that you can test which key is pressed before the key is sent to the keyboard buffer.

Community Additions

© 2015 Microsoft