Now I get a SetFocus problem again... As you know VFP can't call SetFocus from a When, Valid, RangeHigh or RangeLow event anymore, it could do it in VFP3 but no longer. In a normal form there is really no problem becouse you just put the call of SetFocus in the LostFocus event or something like that. But if you call another form within a valid event it starts to get tricky, becouse the the new form can't call SetFocus at all. So in my new form I removed all SetFocus and thought everything should be just fine but no, when I do a Thisform.Refresh() on the form I still got the SetFocus Error Message in a method that I don't even use... So my question is, is there any SetFocus call in VFP baseclasses or could something else be wrong?
/Mårten Törnquist
---( Mårten Törnquist )---