Mouse leave event fires going into control once until you reposition opposite axes of mouse.
Original Reporter info from Mantis: jamie @jamie
-
Reporter name: jamie philbrook
Original Reporter info from Mantis: jamie @jamie
- Reporter name: jamie philbrook
Description:
it seems there is an issue with the mouse leave trigger as you move the
mouse into the control.
if you maintain the opposite axes of the mouse and move the pointer back out
of the control you'll get the onMouseLeave event like you should then reenter
the same control without changing the opposite axes of the mouse position and
then it'll enter the control without triggering the Leave event..
If you move the opposite axes of the mouse pointer then it repeats itself
so the first time into the control it appears to trigger the event. of course
it could be the if I were to maintain the opposite axes of the mouse pointer and go between two controls it make actually work but if just sweep the pointer
into the control there by ensuring both axes are changed, it triggers a leave message when entering..
Steps to reproduce:
drop a tbutton on the form and implement the OnMouseLeave, place a
beep in there or something for indication.
Move your mouse into the control and out, experiment with maintining
the opposite axes then change the opposite axes of the mouse and see what
happens.
Mantis conversion info:
- Mantis ID: 32844
- OS: Windows
- OS Build: 10
- Build: 56594
- Platform: 64 maybe 32 too?
- Version: 1.8
- Fixed in version: 1.9 (SVN)
- Fixed in revision: 56857 (#3ba9674d)
- Target version: 1.8.2