>>>I've just discovered that SetFocus() is not allowed from a Valid() event anymore in Visual FoxPro 5.
>>>
>>>Take note of it if you have something like that in your framework. :)
>>
>>That's the concept they've incorporated into VFP from VB, BTW.
>
>That's interesting. Visual FoxPro 1 Visual Basic 0
>
>To solve this, I had to modify my framework to take care of this situation when I have to do a SetFocus() if a Valid() event is in the hierarchy.
It kind of made sense to me after I thought of it for ... a couple
of days :) Apparently it's within the 'object' nature to fire Valid()
once the object gets accessed (and programmatically SetFocus() accesses
the object)
Robert
Some things are better be left unknown...NOT!!!