Sending mouseup to checkboxes on different card
Klaus on-rev
klaus at major.on-rev.com
Wed Oct 20 12:36:44 EDT 2010
Hi Robert,
> On 20.10.10 at 18:04 +0200 Klaus on-rev apparently wrote:
>> >> Anyway, your script may fail if your mouseup function does sth that
>>>> refers to the buttons on the other card, which are not present on the
>>>> current card and it does not make full reference to them but only
>>>> uses short names.
>>
>> To avoid this and other traps when sending "mouseup" to object on other cards you coul do this and
>> since there is no "defaultCard" (like "defaultstack") that we can set, we have to go to all the cards to
>> avoid this above mentioned phenomenon!
>
> If one uses full reference in the called script (that is script in btn b of cd y refers to itself as btn b of cd y) then going to that card before running that script is not needed.
yep, but if one doesn't, it is ;-)
> Robert
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list