OLEContainer.Create
From Xojo Documentation
Method
This method is only available on the Windows platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
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.