MouseEnter ineffective in simulator

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Spiff
Posts: 9
Joined: Fri Nov 04, 2011 10:27 am

MouseEnter ineffective in simulator

Post by Spiff » Sun May 06, 2012 3:27 pm

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)

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: MouseEnter ineffective in simulator

Post by Klaus » Sun May 06, 2012 3:37 pm

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

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: MouseEnter ineffective in simulator

Post by Dixie » Sun May 06, 2012 4:55 pm

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

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: MouseEnter ineffective in simulator

Post by Klaus » Sun May 06, 2012 6:35 pm

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

Spiff
Posts: 9
Joined: Fri Nov 04, 2011 10:27 am

Re: MouseEnter ineffective in simulator

Post by Spiff » Mon May 07, 2012 4:47 pm

Thank you for your answers. I altered my scripts and managed to get around the "mouseEnter" difficulty.

Spifff

Post Reply