Page 2 of 2

Re: 1 mainstack and 2 substacks opened in the same time ?

Posted: Sun Dec 31, 2017 6:10 pm
by jmburnod
No mouseDown or mouseUp? Is the image empty?
Image is not empty and no paint controls (btns with cantselect or not) send no message
Mouseenter and mouseleave are sent by images only

Re: 1 mainstack and 2 substacks opened in the same time ?

Posted: Wed Jan 03, 2018 1:47 pm
by jmburnod
I tested mouseenter/mouseleave to trap it and set the tool to browse/brush.
Good new it works on iOS

Re: 1 mainstack and 2 substacks opened in the same time ?

Posted: Wed Jan 03, 2018 2:18 pm
by FourthWorld
At what point are mouseEnter and mouseLeave sent in an OS that has no mouse?

Re: 1 mainstack and 2 substacks opened in the same time ?

Posted: Wed Jan 03, 2018 3:25 pm
by jmburnod
At what point are mouseEnter and mouseLeave sent in an OS that has no mouse?
I get the location of contact point of my finger for both. I the loc is within the rect of my image, and it seems a mouselave is sent to the image.

Re: 1 mainstack and 2 substacks opened in the same time ?

Posted: Wed Jan 03, 2018 4:20 pm
by FourthWorld
Thanks. I'm assuming mouseEnter is sent before mouseDown, yes? It would never have occurred to me to try the mouse position messages, but I can see cases where they can be useful.

Re: 1 mainstack and 2 substacks opened in the same time ?

Posted: Wed Jan 03, 2018 6:44 pm
by jmburnod
mouseEnter is sent before mouseDown, yes?
Yes.
it seems a mouselave is sent to the image.
Yes. When the mouseloc is outside the image, no mouseleave after a mouseup on image.
This works with brush, eraser, bucket, spray tools
Unfortunately this doesn't work with select and dropper tools