Chuck,
What exacly doesn't work? Could you post the offending code, please?
Well, VFP has feelings :) It doesn't like lazy developers :)
>I close VFP and reboot the PC. Same thing. Yet, when I put SET STEP ON right before the troublesome code, it does it fine!?!?
>
>The button/textbox works, it's the code that isn't running correctly w/o the Debugger (
;-) from VFP itself). Does VFP 6.0 have feelings?
>
>Chuck
>
>>Do you mean button doesn't work or textbox doesn't work? Try to restart VFP session (it should not make any difference, but just in case :)).
>>
>>If you put the same code, I belive, it should work. Check KeyPreview property for the form too.
>
>>>>if nKeyCode=13
>>>> thisform.MyFind()
>>>> nodefault
>>>>endif
If it's not broken, fix it until it is.
My Blog