On openStack ... send "mouseUp" to btn "startup"

Joeri Paeleman paeleman at hotmail.com
Tue Jul 29 06:50:00 EDT 2003


Hi,

I've got a button "startup" with the following script:

on mouseUp
hAnswerSomething
end mouseUp

on hAnswerSomething
answer "something"
end hAnswerSomething


In my card's script, I've got the following:

on openStack
send mouseUp to btn "startup"
send hAnswerSomething to btn "startup"
end openStack


When I open my project, only the second line of the openStack-script gets 
sent (the first line returns "true", does not give an error, but just simply 
doesn't do a thing).
If I then close my stack and open it again, both lines work (so I get two 
answers).

Am I missing something here?


Joeri Paeleman

_________________________________________________________________





More information about the use-livecode mailing list