Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting enable state of toolbar buttons #27

Open
brinkdinges opened this issue Feb 12, 2023 · 0 comments
Open

Add support for setting enable state of toolbar buttons #27

brinkdinges opened this issue Feb 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@brinkdinges
Copy link
Member

When you call AddCommandItem2, you can pass a function to determine whether a toolbar button is enabled or disabled. It would be great if we add support for that.
https://help.solidworks.com/2018/english/api/sldworksapi/solidworks.interop.sldworks~solidworks.interop.sldworks.icommandgroup~addcommanditem2.html

The place to add this would be in the CommandManagerGroup class, method AddCommandItem.

@KC-MarKamp KC-MarKamp added the enhancement New feature or request label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants