The AfterActivate event occurs when a window is activated. It occurs after the Microsoft Dynamics GP window activate event.
• window – A window object.
A window is activated when it’s moved from the background to the foreground in an application, becoming the frontmost window.
Microsoft Dynamics GP rarely uses its window activate event. Whether you choose to use the AfterActivate event or BeforeActivate event is of little consequence.