CreateFromProgID Method
Creates an ActiveX control using its specified ProgID.
Syntax
object.CreateFromProgID bstrProgId
Properties
The CreateFromProgID method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrEventName |
String. The name of the event. |
Remarks
CreateFromProgID allows the user to create ActiveX controls without requiring any user interface. The ProgIDs can be found in the Insert Object dialog box that can be opened in the WorkSpace by choosing OLE Object off of the Insert menu or by calling the CreateFromDialog method.
Although this method applies to many objects in iFIX, it is only intended to be used for the ControlContainer object.