Page 1 of 1

MouseEnter ineffective in simulator

Posted: Sun May 06, 2012 3:27 pm
by Spiff
Hello!

The project I am building makes frequent use of the 'mouseEnter' command, especially to display text data while the mouse hovers over specific buttons. This works fine either in the Browse or Edit modes of LiveCode, but not in the iPad simulator. Clicking on the button in simulator mode will however display the text, but this is not what I want.

To try and see where the problem was, I tried to test the app on my physical iPad, going through the required stages:
1) Open Xcode and select "Organizer" in the 'Window' menu,
2) Drag the App bundle into the 'Applications' pane.
The app starts copying but gets stuck at the 'InstallingEmbeddedProfile' stage, followed by "Unknown error message: IncorrectArchitecture was received from the device".
I would be very grateful if someone could help me out of this.
Best,

Spifff
(Mac OX Lion, LiveCode 5.5, Apple developer and LiveCode licenses)

Re: MouseEnter ineffective in simulator

Posted: Sun May 06, 2012 3:37 pm
by Klaus
Hi Spiff,

well, since there is no Mouse/Cursor on iOS, the MOUSEENTER message will
obviously never get fired, so I would use "mousedown" or something like that. 8)

Same applies to "mousemove" and "mouseleave".


Best

Klaus

Re: MouseEnter ineffective in simulator

Posted: Sun May 06, 2012 4:55 pm
by Dixie
Klaus...

Don't be so hard on the mice!... My cat likes mice... their arrival and departure through 'mouseEnter' & 'mouseLeave' is not announced under iOS but there is nothing wrong with their movement as 'mousemove' certainly does work.

be well

Dixie

Re: MouseEnter ineffective in simulator

Posted: Sun May 06, 2012 6:35 pm
by Klaus
Meeoooowwww :D

Aorry, did not think that "mousemove" would work on iOS, due to the LACK of a mouse.

But there IS in fact a serious and underestimated mouse problem!
http://www.youtube.com/watch?v=uK92NYwBMts 8)


Best

Klaus

Re: MouseEnter ineffective in simulator

Posted: Mon May 07, 2012 4:47 pm
by Spiff
Thank you for your answers. I altered my scripts and managed to get around the "mouseEnter" difficulty.

Spifff