Home Forums General XMetaL Discussion Refresh Tool Bar Reply To: Refresh Tool Bar


Reply to: Refresh Tool Bar

Thank you Derek.
I may didn't describe my question clearly. My question is not how to disable the buttons, but to enable them.

The DisableMacro disable the buttons in the beginning for they are enable in default, and when I want to enable them, I attempt to use PushInMacro, but the reality is that PushInMacro seems not enable them. So my confusion is how to enable the button when I want to?
The handle macro of a button just do some binding the OnButtonClick, like this: OnButtonClick(controlId).

Thank you very much.