I have coded some setfocus() commands in a field's lostfocus. This seems to have an unexpected result in VFP6 service pack 4. The execution follows this path:
Field1.Valid start
Field1.Valid return
Field1.LostFocus start
execute field2.setfocus() in the lostfocus
Field2.when fires (as expected)
Field2.when returns
Field1.Valid fires (WHAT?)
Field1.Valid returns
Field2.Gotfocus fires
Field2.Gotfocus returns
Field2.when fires (what? when again AFTER gotfocus?)
Field2.when returns
Field1.LostFocus returns
We are now in Filed2 waiting for input.
Has anyone seen this before?
Weldon Adair
Weldon Adair
Adair Software Corporation
(561) 445-8091