Obsolete. Superseded by IPropertyManagerPageTab::AddControl2.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddControl( _
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.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 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
PropertyManager page tab control
Remarks
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0