Hi Richmond,
Try a front script:
on mouseUp
send "mouseUp" to the current card in 0 millisecs
pass mouseUp
end mouseUp
Or use dispatch instead of send, if a card may not have a mouseUp
handler, or put an extra mouseUp handler at the mainstack level.
--
Best regards,
Mark Schonewille
Ec
: Wed, May 15, 2013 3:54 pm
Subject: Re: Heirarchy and where the mouseUp signal is detected.
On 05/15/2013 10:33 PM, Randy Hengst wrote:
Because my "wee stack" was a story, and what I have is my Devawriter Pro
program where each card has about 50 buttons; and, being a lazy slob,
I have n
On 05/15/2013 10:52 PM, Mark Schonewille wrote:
Richmond,
You need to pass the mouseUp command on to the card.
on mouseUp
if fld "FF" contains "dog" then
put "cat" into fld "FF"
else
put "dog" into fld "FF"
end if
pass mouseUp
end mouseUp
Now that is a piece of
On 05/15/2013 10:33 PM, Randy Hengst wrote:
Because my "wee stack" was a story, and what I have is my Devawriter Pro
program where each card has about 50 buttons; and, being a lazy slob,
I have no great urge to go through the script of each and every button
on some 15 cards putting in 1 line of
Richmond,
You need to pass the mouseUp command on to the card.
on mouseUp
if fld "FF" contains "dog" then
put "cat" into fld "FF"
else
put "dog" into fld "FF"
end if
pass mouseUp
end mouseUp
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Softwar
Hi Richmond,
How about putting all this in the card script? And put nothing in the button.
on kindOfAnimal
if fld "FF" contains "dog" then
put "cat" into fld "FF"
else
put "dog" into fld "FF"
end if
end kindOfAnimal
on colorOfText
if the textColor of
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:
on mouseUp
if fld "FF" contains "dog" then
put "cat" into fld "FF"
else
put "dog" into fld "FF"
end if
end