OLEContainer
From Xojo Documentation
Class (inherits from RectControl)
This class is only available on the Windows platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this class on an incompatible platform. |
The generic container for embedding ActiveX controls (Windows only).
Properties | ||||||||||||||||||||||||||||||
|
Methods | |||||||||||||
|
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
If OLEContainer1.Create(False) Then
OLEContainer1.Content.Wmode = "Transparent"
OLEContainer1.Show
End If
See Also
OLEObject class.