Sets whether the Task Pane button is enabled.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub SetButtonState( _
ByVal ButtonIndex As Integer, _
ByVal Enable As Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As ITaskpaneView
Dim ButtonIndex As Integer
Dim Enable As Boolean
instance.SetButtonState(ButtonIndex, Enable)
|
Parameters
- ButtonIndex
- Index of Task Pane button
- Enable
- True to enable Task Pane button, false to disable it
Example
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0