From Xojo Documentation

Revision as of 19:17, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from DesktopUIControl)

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

Closing EventTriggered MouseExit
ConstructContextualMenu FocusLost MouseMove
ContextualMenuItemSelected FocusReceived MouseUp
DragEnter KeyDown MouseWheel
DragExit KeyUp Opening
DragOver MouseDown ShowObject
DropObject MouseDrag
EnableWindowlessMode MouseEnter
Active fa-lock-32.png Left ProgramID
AllowAutoDeactivate LockBottom Scope fa-lock-32.png
AllowTabStop LockLeft TabIndex
Content LockRight Tooltip
DesignMode LockTop Top
Enabled MouseCursor Transparent
Handle fa-lock-32.png Name fa-lock-32.png Visible
Height PanelIndex Width
Index fa-lock-32.png Parent Window fa-lock-32.png
AcceptFileDrop Create Show
AcceptPictureDrop Destroy ShowPropertyPages
AcceptRawDataDrop DrawInto Subscribe
AcceptTextDrop Refresh Unsubscribe
Close SetFocus

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.