Hide buttons on toolbar

Hello.

I encountered a problem. I’m developing a new toolbar, and I need to disable some of the buttons or hide it before pressing other button. For example I need not to allow the user to press a button #2 (make it not active or hide from toolbar) before user clicks button #1. Can I do this somehow?

Best regards, Andri.

If you are working with Rhino’s toolbars, then you are not going to be able to disable or hide buttons. This is not a feature of the end-user customization buttons. If this type of behavior is important to your user interface, then you will need to develop your own toolbar(s) and buttons.