I create option buttons on the fly for the Android menu button and iOS menus from a soft menu button. I have no problem putting a script in them. I do ==>set the script of bname to ("on mouseup" & cr & tab & "ProcessMenu" && quote & (item 2 of line I of MenuList) & quote & cr & "end mouseup")
This 3 line script works for mobile standalone and in the IDE. Although looking at it again, I don't know what that tab was for. Shouldn't hurt. Is this an image control only problem? Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -----Original Message----- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Glen Bojsza Sent: Wednesday, March 21, 2012 8:48 PM To: How to use LiveCode Subject: Re: Setting script in object not working... I tried a variation of that but for some reason the images aren't taking the script consistently? It's like the images sometimes work when they do get a script and other times it takes several clicks before the script is executed? I was thinking if there was a way to determine if the user clicks over an image that is in a group and possible set a script in the group. This would eliminate scripts limitations and any other possible issues. I am not sure how to approach this... the group scrolls when there are more images that can be seen on the screen but I don't think a mouseUp script for the group is trapped on the scroll bar so that should be fine. The question is how to determine the image below the mouse when the user does click? On Wed, Mar 21, 2012 at 6:23 PM, Mike Bonner <bonnm...@gmail.com> wrote: > Might set up a hidden image object with the script already there and just > clone or copy it. That way you don't have to worry about whether its a > scriptlimits issue if nothing else. > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode