How to select image object instead of group

Jonathan Lynch jonathandlynch at gmail.com
Fri Dec 10 20:03:50 EST 2010


Perhaps try the following:

Group script:

on mouseup
  send myCustomHandler to image "myImage"
end mouseup

Image script:

on MyCustomHandler
 -- do the things I want it to do
end MyCustomHandler


On Fri, Dec 10, 2010 at 7:53 PM, Scott Pepperdine <spepper at byu.net> wrote:

> I have scripts associated with the other fields in the group, so it would
> be best if the script can be associated with the image.
>
> Thanks for the reply.
>
>
> On 12/10/2010 5:51 PM, jonathandlynch at gmail.com wrote:
>
>> I have had this happen, and I just put the script in the group. Does it
>> need to be in the image?
>>
>> ------Original Message------
>> From: Scott Pepperdine
>> Sender: use-livecode-bounces at lists.runrev.com
>> To: How to use Revolution
>> ReplyTo: How to use LiveCode
>> Subject: How to select image object instead of group
>> Sent: Dec 10, 2010 6:36 PM
>>
>> I have an image object that is part of a background group, so when I
>> create a new card, there it is along with a number of other fields.
>> But when I click the image object, its script is not activated, but
>> rather the script of the group it belongs to.
>> What do I need to study to make the image selectable?
>>
>> Thanks very much,
>> --Scott
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> Sent from my Verizon Wireless BlackBerry
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Do all things with love



More information about the use-livecode mailing list