>Can you tell me what does
NoDefault do? It isn't in the MS Language Reference book and the online help says it's "DEFINE CLASS Command" (which doesn't tell me anything).
>
>I am still puzzled with why this happens only on the first attempt (after the form runs for first time), but after that, it works fine? There isn't any special values behind anywhere. If using the 'Find' button, it does it right the first time and after that. But the following code in the KeyPress Event isn't working? Can ANYBODY help me with that?
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>IF nKeyCode=13
> NoDefault
> ThisForm.MyFind()
>ENDIF
>
>If you don't mind me zipping it up and email it to you for you to see what I mean, that's fine. I even used the Debugger and it went through prefectly, but something is not showing me.
>
>Chuck
Ok, send it to my home e-mail, I looked into it this weekend.
Regarding information about DODEFAULT() NODEFAULT, go to WiKi site, there was a recent discussion about it, which will help you more, than my explanation.
If it's not broken, fix it until it is.
My Blog