Controls in QAT MouseMove Events Problem

Ribbon for WPF Forum

Posted 11 years ago by Paul Spiteri
Avatar
Hi
I've got a SplitButton containing a Menu on the ribbon. The Menu has MouseMove and MouseLeave events. It works very well on the ribbon, however when I add the SplitButton to the Quick Access Toolbar the MouseMove/MouseLeave events fail to fire on the cloned control up on the QAT.

Any reason / work around?
Thanks
Paul

[Modified at 09/18/2008 06:24 AM]

Comments (2)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
When an object is cloned to the QAT, it may not clone events automatically. However we do have ways for you to reattached events to the cloned object. Check out the "Customizing the QAT" help topic in the documentation. The CloneService.CloneCreatedEvent is the event you'd want to use since from it you can access the original object and the cloned object. Then you can attach the event handlers to the cloned object.

Hope that helps.


Actipro Software Support

Posted 11 years ago by Paul Spiteri
Avatar
Thanks for that, it works and is a good enough solution.
Cheers P
The latest build of this product (v2019.1 build 0683) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.