Adds a control to this tab on a PropertyManager page.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddControl2( _
ByVal ID As System.Integer, _
ByVal ControlType As System.Short, _
ByVal Caption As System.String, _
ByVal LeftAlign As System.Short, _
ByVal Options As System.Integer, _
ByVal Tip As System.String _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPageTab
Dim ID As System.Integer
Dim ControlType As System.Short
Dim Caption As System.String
Dim LeftAlign As System.Short
Dim Options As System.Integer
Dim Tip As System.String
Dim value As System.Object
value = instance.AddControl2(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 alignment 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
control for this PropertyManager page tab control
Remarks
See Also
Availability
SOLIDWORKS 2014 SP1, Revision Number 22.1