The OleControl is a subclass of OlePrimitive. It allows you to insert OCXs and use them in a VA Smalltalk application. An OleControl widget contains an OCX and allows that object to behave like any other CwPrimitive.
With OleControl, you can do the following:
Create a placeholder in the container's user interface to contain an OCX
Set properties and the control function of the contained OCX
Use the Common Widgets event-handler mechanism to trap and process events generated by the contained OCX
Provide hooks that allow the OCX access to specific properties of the application's user interface components, for example, access to an application's ambient properties
Use licensed OCXs within an application
Last modified date: 01/29/2015