OLEContainer.Create

From Xojo Documentation

Method


OLEContainer.Create([Show as Boolean]) As Boolean

Supported for all project types and targets.

Creates an ActiveX control. Create uses the ProgramID property to create the ActiveX control.

Notes

Returns a Boolean: True if successful, False if unsuccessful. The optional parameter Show determines whether the control is activated when it is created. The default is True. Some ActiveX controls require some properties to be set before they are activated. In this case, set Show to False and then activate it with a call to the Show method.