Obsolete. Superseded by IPropertyManagerpageGroup::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 IPropertyManagerPageGroup
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 the 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
- Tip
ToolTip text for the control
Return Value
Newly created
control for this PropertyManager page group box
Remarks
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0