Sending mouseup to checkboxes on different card
charles61
cszasz at mac.com
Wed Oct 20 12:47:20 EDT 2010
Robert,
I understand your previous e-mail about using custom handlers. I have never used this concept before. But I am not following you when you sent the following:
f 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.
While the script that Klaus posted works, I still want to fully understand your comments above. Could you elaborate further?
Charles Szasz
cszasz at mac.com
On Oct 20, 2010, at 12:30 PM, Robert Brenstein [via Runtime Revolution] wrote:
> 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.
>
> Robert
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> View message @ http://runtime-revolution.278305.n4.nabble.com/Sending-mouseup-to-checkboxes-on-different-card-tp3003921p3004205.html
> To unsubscribe from Sending mouseup to checkboxes on different card, click here.
>
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sending-mouseup-to-checkboxes-on-different-card-tp3003921p3004229.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list