Freigeben über


NODEFAULT Command

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

NODEFAULT

Remarks

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

Reference

DEFINE CLASS Command
Run Method (Visual FoxPro)
BeforeRowColChange Event
Add Method (File Object)
OLEDragDrop Event
OLESetData Event
OLEGiveFeedback Event
OLECompleteDrag Event
QueryRunFile Event
BeforeBuild Event
QueryAddFile Event
QueryRemoveFile Event
QueryUnload Event
OLEStartDrag Event
QueryModifyFile Event

Other Resources

Commands (Visual FoxPro)
Language Reference (Visual FoxPro)