Question MouseUp event of button on tabpage not working with l.click but does with r.click

22-degrees

Well-known member
Joined
Feb 11, 2012
Messages
156
Location
South East Ireland
Programming Experience
1-3
Hi all, is there any reason why the MouseUp event handler of a Button would not work if the Button was located on a TabPage of a TabControl?

The MouseDown, MouseEnter, MouseMove & MouseLeave event handlers are all triggered correctly but the MouseUp event handler is not triggered when I left click on the button and then release. However if I right click on the same button and then release, the MouseUp handler is triggered.

Hoping someone might be able to shed some light
 
I just did a quick test and it worked fine for me. I suggest that you create a new project with just the bare minimum required to test this functionality. If it works then start making changes to make it more like your existing project until you see the same behaviour and then you have probably found the root cause.
 
Back
Top