Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
384
How to make a ToolBar Button Selected when the form loads
posted

Hi,

I want to make a toolbar button selected by default when my form loads. I tried like this

this.utm.Ribbon.Tabs[0].Groups[1].Tools["Button7"].IsActiveTool = true;

 in form_load but get an error

"Can't activate a tool that is not visible". This tool is visible, I am not sure why it's showing such an error.

Any help on this would be greatly appreciated.

Many Thanks

Ponnu

Parents Reply Children