OLEContainer.Destroy

From Xojo Documentation

Method


OLEContainer.Destroy()

Supported for all project types and targets.

Destroys the currently embedded ActiveX control, so you can reuse your OLEContainer.