Sets whether to enable the buttons on the PropertyManager.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function EnableButton( _
ByVal WhichOne As System.Integer, _
ByVal Enable As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPage2
Dim WhichOne As System.Integer
Dim Enable As System.Boolean
Dim value As System.Boolean
value = instance.EnableButton(WhichOne, Enable) |
C# | |
---|
System.bool EnableButton(
System.int WhichOne,
System.bool Enable
) |
C++/CLI | |
---|
System.bool EnableButton(
& System.int WhichOne,
& System.bool Enable
) |
Parameters
- WhichOne
- Button as defined in swPropertyManagerPageButtons e
- Enable
- True enables the button, false disables it
Return Value
True if the button was enabled or disabled, false if not
Remarks
See Also
Availability
SOLIDWORKS 2003 FCS, Revision Number 11.0