Heirarchy and where the mouseUp signal is detected.
richmondmathewson at gmail.com
Wed May 15 14:19:41 CDT 2013
The reasons for this are probably fairly basic.
I have a wee stack that contains a fld "FF" containing the text "dog",
and a button "Button" containing this script:
if fld "FF" contains "dog" then
put "cat" into fld "FF"
put "dog" into fld "FF"
[sophisticated stuff it ain't]
and the single card contains this script:
if the textColor of fld "FF" is "green" then
set the textColor of fld "FF" to "red"
set the textColor of fld "FF" to "green"
Now, split me, but I thought that if I clicked anywhere on the card the
cardScript would fire, including on the button,
BUT, deuced inconvenient, clicking on the button only fires the
buttonScript, and clicking anywhere on the card, outwith the button
fires the cardScript.
and I was hoping that a buttonClick would fire both the cardScript and
Does anybody know how to effect this?
More information about the use-livecode