>Found this thread and thought my problem is kinda the same thing. I am trying to enable/disable a toolbar button from a form. How can I set the Enabled property of a button on a toolbar if it is protected? Am I missing something? BTW- Using Visual MaxFrame Professional 4.
>
>George.
First, I don't use and, therefore, am unfamiliar with VMP, so what follows is a generalization.
You can't externally modify a protected property. In this case, this would have to be done within the command button. The best place, from what I gather, to do this would be its Refresh method. All you'd have to do then is refresh the toolbar, and let the button take care of itself.
George
Ubi caritas et amor, deus ibi est