Adds a control to this tab on a PropertyManager page.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddControl( _
ByVal ID As Integer, _
ByVal ControlType As Short, _
ByVal Caption As String, _
ByVal LeftAlign As Short, _
ByVal Options As Integer, _
ByVal Tip As String _
) As Object |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPageTab
Dim ID As Integer
Dim ControlType As Short
Dim Caption As String
Dim LeftAlign As Short
Dim Options As Integer
Dim Tip As String
Dim value As Object
value = instance.AddControl(ID, ControlType, Caption, LeftAlign, Options, Tip)
|
Parameters
- ID
- Resource ID of this control
- ControlType
- Type of control as defined in swPropertyManagerPageControlType_e
- Caption
- Caption of the control
- LeftAlign
- Left align property of this control as defined in swPropertyManagerPageControlLeftAlign_e
- Options
- Options as defined in swAddControlOptions_e (see Remarks)
- Tip
- Tool tip text for the control
Return Value
Newly created
PropertyManager page control
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0