Passing messages
Posted: Mon Nov 05, 2018 5:50 pm
I thought I knew how these things worked/
In a new stack I have the following handler in the stack script:
The dictionary states that the "mouseStillDown" message is sent to the card if no underlying control is under the cursor. But I get no message in the stack handler. If I place a "mouseStillDown" handler in the card script that merely passes that message, then the stack script handler will fire.
Why doesn't the message automatically go to the stack? Why do I need to explicitly trap it on the card and send it along? What was that message passing "hierarchy" thing I heard so much about?
Oh, "mouseUp" works just fine that way. Always did.
This is HC 101, no?
Craig Newman
In a new stack I have the following handler in the stack script:
Code: Select all
on mouseStillDown
if the optionKey is down then answer the ticks
end mouseStillDown
Why doesn't the message automatically go to the stack? Why do I need to explicitly trap it on the card and send it along? What was that message passing "hierarchy" thing I heard so much about?
Oh, "mouseUp" works just fine that way. Always did.
This is HC 101, no?
Craig Newman