From Xojo Documentation

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

DesktopOLEContainer.EventTriggered(NameOfEvent as String, Parameters() as Variant) As Variant

New in 2021r3

Supported for all project types and targets.

Occurs when the ActiveX control receives an event from the user.


The event name is passed as the first parameter specifying which event occurred. The second parameter contains the parameters for this event, passed in as an array of variants.