Occurs when you navigate from an Active Document.
Syntax
PROCEDURE Object.HideDoc
Remarks
The HideDoc event occurs when you navigate from an Active Document to another document or the Active Document’s container is closed.
The HideDoc event doesn’t occur when the Active Document’s container is minimized or when the container is restored to its original size.