From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from RectControl)

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

Close DropObject MouseExit
ConstructContextualMenu EnableWindowlessMode MouseMove
ContextualMenuAction EventTriggered MouseWheel
DragEnter KeyDown Open
DragExit KeyUp ShowObject
DragOver MouseEnter
Active fa-lock-32.png LockBottom ProgramID
AllowAutoDeactivate LockLeft Scope fa-lock-32.png
AllowTabStop LockRight TabIndex
Content LockTop Tooltip
DesignMode MouseCursor Top
Enabled MouseX fa-lock-32.png Transparent
Handle fa-lock-32.png MouseY fa-lock-32.png TrueWindow fa-lock-32.png
Height Name fa-lock-32.png Visible
Index fa-lock-32.png PanelIndex Width
Left Parent Window fa-lock-32.png
AcceptFileDrop Create SetFocus
AcceptPictureDrop Destroy Show
AcceptRawDataDrop DrawInto ShowPropertyPages
AcceptTextDrop Invalidate
Close Refresh

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"
End If

See Also

OLEObject class.