Adds a tab to this model view using the specified ActiveX control.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddControl( _
ByVal Name As String, _
ByVal ControlName As String, _
ByVal BstrLicKey As String _
) As Object |
Visual Basic (Usage) | |
---|
Dim instance As IModelViewManager
Dim Name As String
Dim ControlName As String
Dim BstrLicKey As String
Dim value As Object
value = instance.AddControl(Name, ControlName, BstrLicKey)
|
Parameters
- Name
User-defined label that appears on the tab
- ControlName
Name or class ID for the ActiveX control
- BstrLicKey
Optional license key; this data is needed to create ActiveX controls that require a runtime license key; if the ActiveX control supports licensing, then provide a license key for the creation of the ActiveX control; default value is NULL
Return Value
Pointer to the new ActiveX control
Example
Remarks
See Also
Availability
SolidWorks 2003 FCS, Revision Number 11.0