The AfterGotFocus event occurs when the user moves the focus into a field, using the TAB key or the mouse. It occurs after the Microsoft Dynamics GP got focus event.
• field – A window field object.
Use the AfterGotFocus event to set or evaluate the contents of a field gaining focus. Microsoft Dynamics GP rarely uses the got focus event. When it does, the accounting system typically checks the value of the field that’s gaining focus, and performs calculations or sets other field values based on that value.