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
95
Toolbar Button - programatically Click
posted

Hi,

how do you programtically click a button on a Toolbar ?

Thanks

Michael

Parents
No Data
Reply
  • 44743
    posted

    I think the best thing to do here would be to separate out the click event handler code for this one tool into its own method which is called from the normal ToolClick event handler. Then you can call that method from anywhere else in your code and simulate the button's click action without having to interact with the toolbars manager.

Children