Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Minitoolbar activate ok and apply on Selection

2 REPLIES 2
Reply
Message 1 of 3
patrick.fillion
289 Views, 2 Replies

Minitoolbar activate ok and apply on Selection

I am looking for a way to have the ok and apply button gray out until there is a valid selection made in the UI. How can we control if those 2 buttons are active or not?

 

2 REPLIES 2
Message 2 of 3

Hi,

I do not see a way to disable the Apply button. But I think two options may help you:

either: your application does nothing in the event MiniToolbar.OnApply when no any object is selected
or: control the visibility of the Apply button by the bool property MiniToolbar.ShowApply
Message 3 of 3

Sorry, I even missed the property MiniToolbar.EnableApply .

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report