DODEFAULT() just runs the code one step up the class hierarchy from your current method. So if you put DODEFAULT() in the click method of a command button and the command button's parent class is cmdBase, DODEFAULT() will run cmdBase.Click().
NODEFAULT keeps the base class default behavior from ocurring. For example, if you put NODEFAULT in the unload event of a form, the form will not unload. If you put NODEFAULT in the keypress event of a text box, the keystroke will not be processed.
>Many answers to questions have NoDefault or DoDefault, and I tried to use the code of an answer and when VFP compiles it an error ocurrs.
>And i wish to know what they mean and how to use it.
>
>Who could tell me about?