OLEContainer

From Xojo Documentation

Class (inherits from RectControl)


The generic container for embedding ActiveX controls (Windows only).

Events
EnableWindowlessMode EventTriggered ShowObject
Properties
Content DesignMode ProgramID
Methods
Create Show
Destroy ShowPropertyPages

Sample Code

This code illustrates the usage of the Create and Show methods. The ShockWave ActiveX control has been assigned to the OLEContainer in the IDE.

OLEContainer1.ProgramID = "ShockwaveFlash.ShockwaveFlash"

If OLEContainer1.Create(False) Then
OLEContainer1.Content.Wmode = "Transparent"
OLEContainer1.Show
End If

See Also

OLEObject class.