Share via


ContainerRelease Event

Occurs when an Active Document is released by its host.

PROCEDURE Object.ContainerRelease

Remarks

An Active Document can be released by its host when the host is shut down, when the Active Document is dropped from the host's cache, or when you navigate from the Active Document. For example, Microsoft Internet Explorer 4.0 for Windows releases an Active Document when you navigate from the Active Document. Microsoft Internet Explorer 3.0 for Windows releases an Active Document when it is dropped from its cache of four pages.

The ContainerReleaseType property can be set in this event; Visual FoxPro checks its value after this event occurs to determine if the Active Document is opened in the Visual FoxPro runtime.

See Also

ContainerReleaseType Property | Active Documents | The Running of Active Documents

Applies To: ActiveDoc Object