OpenCard not triggering in simulator

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

OpenCard not triggering in simulator

Post by FireWorx » Sat Apr 14, 2012 9:19 am

Hi,
Not sure whats going on but when I put

on opencard
answer "hell yes"
end open card

I get the desired response in the IDE but the simulator returns nothing.

Any ideas about what might be going on?

Dave

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

Re: OpenCard not triggering in simulator

Post by Dixie » Sat Apr 14, 2012 3:09 pm

Hi...

Mmm... that works for me in the simulator...
I notice that you have written 'end open card'... it has a space in it... is that the problem ?

be well

Dixie

FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Re: OpenCard not triggering in simulator

Post by FireWorx » Sat Apr 14, 2012 4:43 pm

No Dixie that was a typo. I searched to make sure there wasn't another on opencard handler on the same card script that might have been getting hit but that's not it. I monkeyed with the inner workings of some grouped controls from tactile media late yesterday afternoon and that might be producing the problem. The on preopencard handler delivers the answer message ok but putting the request in the first line of the on open card handler doesn't. It works on the IDE but not on the tester. I think I will clone the stack etc to try and fix this sounds like a might have screwed something up pulling apart one of those MOB gui style controls from tactile media.

Post Reply