Resizestack: sending and passing problem

David Bovill david at openpartnership.net
Wed Oct 11 17:57:14 EDT 2006


Spent hours trying to track this down...

  send "resizeStack" to card 1

Could not get it to work.

Then tried this. Create a blank stack - on the card script add:

on mouseUp
    beep
    pass mouseUp
end mouseUp

And put an empty button on a card. Clicking on the button gives you a very
pleasing beep. But put this script in the button:

on mouseUp
    send "mouseUp" to card 1
end mouseUp

And you get an error! Remove the "pass mouseUp" from the card script and
everything works.

OK - so my problem is how do you send "resizeStack" messages. I don"t want
to not pass this message?



More information about the use-livecode mailing list