1 mainstack and 2 substacks opened in the same time ?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2247
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

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

Post by jmburnod » Sun Dec 31, 2017 6:10 pm

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

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2247
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

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

Post by jmburnod » Wed Jan 03, 2018 1:47 pm

I tested mouseenter/mouseleave to trap it and set the tool to browse/brush.
Good new it works on iOS

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6173
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

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

Post by FourthWorld » Wed Jan 03, 2018 2:18 pm

At what point are mouseEnter and mouseLeave sent in an OS that has no mouse?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2247
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

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

Post by jmburnod » Wed Jan 03, 2018 3:25 pm

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.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6173
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

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

Post by FourthWorld » Wed Jan 03, 2018 4:20 pm

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.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2247
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

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

Post by jmburnod » Wed Jan 03, 2018 6:44 pm

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

Post Reply

Return to “iOS Deployment”