JavaScript Editor js editor     Web development 

Main Page

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.

See Also

JavaScript Editor js editor     Web development