Controls in QAT MouseMove Events Problem

Ribbon for WPF Forum

Posted 16 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 16 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 16 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 (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.