Controlling Acyipro buttons

Posted 11 years ago by Avatar sam
How can we control actipro buttons??
Earlier i have used certain key strokes for each of the button to control them programatically but its causing some error, Now I want to know if there is some other way through which these actipro buttons can be controlled/accessed programatically.


Comments (4)

Posted 11 years ago by sam
am i clear enough?

I want to call an event handler externally without using keystrokes, So is there any other static property using which actipro controlled button handler can be called??
Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Sam,

If you are using the WPF command model (like we do in our sample) all you would have to do is call Execute your command and perhaps target the Ribbon control to ensure it's routed properly to the command's execute event handler.

Actipro Software Support
Posted 11 years ago by sam
Thank you Actipro Software Support for your kind reply to my query.

Actually I'm not using WPF command model.

Is there ny other way?
Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Each ControlBase (which buttons inherit from) has a Click event that can be raised from a protected RaiseClickEvent method. If we made that method public instead of protected, would that be what you need?

Feel free to suggest other object model enhancements if you have any in mind.

Actipro Software Support
Information The latest build of this product (2018.1 build 0670) was released 7 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.