AfterLostFocus event

Examples


The AfterLostFocus event occurs when the user moves the focus out of a field, using the TAB key or the mouse. It occurs after the Microsoft Dynamics GP lost focus event.

Syntax

field_AfterLostFocus()

Parameters

field – A window field object.

Comments

Use the AfterLostFocus event to evaluate the value of the field losing focus, and perform any additional operations in the window. You cannot set the value of the field losing focus using the AfterLostFocus event. This event follows the Microsoft Dynamics GP user changed event, which is typically used to verify the contents of the field.

The AfterLostFocus event occurs immediately after the Microsoft Dynamics GP lost focus event. Microsoft Dynamics GP rarely uses the lost focus event. When they do, they typically lock control fields (fields that control the display of a record).


Documentation Feedback