Why bug? I consider it a feature... :)
>Should we report this as a bug to MS? <g>
>
>>NODEFAULT is not really required here. See message#
343379>>
>>>You cannot call SetFocus() from Valid() but you can from LostFocus(). Don't forget to add NODEFAULT to prevent default VFP behavior.
If abc = tru
>>> thisform.xyz.setfocus()
>>> NODEFAULT
>>>endif
>>>
>< snip >
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison