DesktopOLEContainer

From Xojo Documentation

Revision as of 19:17, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from DesktopUIControl)


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

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

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.