* _EditBox GotFocus Keyboard '{LEFTMOUSE}' Keyboard '{CTRL+END}' * _EditBox Valid If Getfldstate(Justext(This.ControlSource),Juststem(This.ControlSource)) <> 1 * Do all sorts of stuff to prevent the user from * closing the form and leaving this record EndifThis behaviour is not consistent with actually clicking the left mousebutton and pressing CTRL+END from the keyboard, which does not alter the state of the _EditBox.ControlSource.