form Container focusControl ( like textbox )focus is on focusControl
focusControl.Valid && RETURN .F. STOP PROCESS focusControl.LostFocus && BUG 1 : NODEFAULT IS IGNORED * Container.LostFocus && BUG 2 : NOT FIRED form.queryUnload * form.LostFocus && BUG 3 : NOT FIRED * form.Deactivate && BUG 4 : NOT FIREDI try to use Grid ( valid event fired ) on Container ( John Koziol workaround FAQ ID: #7776) , but this bug it has killed my attempt.