MouseExit Event
The MouseExit event occurs when the mouse cursor leaves an ActiveField, or when the mouse is captured. If the MouseExit event occurs because the mouse is captured, the associated ReasonCode is RC_MOUSECAPTURED.
on mouseexit [activefieldname]