OK, sorry didn't realise you'd already read it. You're turning up some
interesting stuff. I guess my only comment is that I prefer to always
specify a target for dispatch, etc. Defaults are great but being specific
relieves my already overloaded brain of having to remember what they are!.
Pete
On Tue, Jan 3, 2012 at 1:24 PM, Bob Sneidar wrote:
> That is a great writeup on the subject,
Thanks!
> and seems to indicate, although indirectly, that send and dispatch work
> the same as regards the context of the called handler. I'm still not sure
> this is the case, but if so, then the di
That is a great writeup on the subject, and seems to indicate, although
indirectly, that send and dispatch work the same as regards the context of the
called handler. I'm still not sure this is the case, but if so, then the
dictionary needs to be updated in this regard.
Bob
On Jan 3, 2012, a
On Jan 3, 2012, at 12:01 PM, Todd Geist wrote:
> Send is different because messages not handled but the target DO NOT
> continue down the message path. Send does NOT resolve "me" to the behavior
> script if there is any. Like Dispatch the context is the receiving object,
> not the sending one.
I
Thanks Pete, That is where I began :-)
On Tue, Jan 3, 2012 at 12:22 PM, Pete wrote:
> I think it's time to refer to the message path bible - Richard Gaskin's
> great article at
> http://www.fourthworld.com/embassy/articles/revolution_message_path.html
> Pete
>
> On Tue, Jan 3, 2012 at 12:01 PM,
I think it's time to refer to the message path bible - Richard Gaskin's
great article at
http://www.fourthworld.com/embassy/articles/revolution_message_path.html
Pete
On Tue, Jan 3, 2012 at 12:01 PM, Todd Geist wrote:
> On Tue, Jan 3, 2012 at 10:09 AM, Bob Sneidar wrote:
>
> > If I am not mistak
On Tue, Jan 3, 2012 at 10:09 AM, Bob Sneidar wrote:
> If I am not mistaken, sent or dispatched messages are always sent to the
> card if another target is not specified,
hmm, Not what I see
Send, dispatch, and call use the current object as the target if none is
specified. It would only be the
If I am not mistaken, sent or dispatched messages are always sent to the card
if another target is not specified, but of course must "pass through" the
frontscript first. I believe that would be the way to put it. That matters
because the send command changes the current context of the command a
On Tue, Jan 3, 2012 at 9:29 AM, Bob Sneidar wrote:
> All of them, right?
Yes
A front script appears to be inserted into the message path before ( or
above ) any target. So it has a chance to handle any message that is sent
to any target.
I know this is common knowledge to the old timers here,
All of them, right?
Bob
On Dec 31, 2011, at 1:16 PM, Todd Geist wrote:
> Hello
>
> What messages can you listen for in FrontScripts? I know user input
> messages can be intercepted there, but I am not sure about what other
> engine Messages, or if it is possible to listen for custom messages.
Todd-
Monday, January 2, 2012, 10:54:41 AM, you wrote:
> I was using metaphor in my own head of messages "raining" down on your
> stacks. I don't like this metaphor any more. I don't think it fits.
I think your original conception wasn't too far off the mark. But I
think what you've run into is
On Sun, Jan 1, 2012 at 8:38 PM, Mark Wieder wrote:
> Todd-
>
> Sunday, January 1, 2012, 4:40:47 PM, you wrote:
>
> Why would you want to do this? The only time I issue a dispatch
> without a target is in a behavior script, and in that case the message
> is delivered to the parent object, which is
Todd-
Sunday, January 1, 2012, 4:40:47 PM, you wrote:
> It appears from my testing that if one use dispatch with out a target
Why would you want to do this? The only time I issue a dispatch
without a target is in a behavior script, and in that case the message
is delivered to the parent object,
As a follow up…
It appears from my testing that if one use dispatch with out a target in a
frontScript that the message travels through the frontScirpt and the drops
down the message path to Libraries or BackScripts. No regular Stacks or
cards or controls get the message. So custom messages just
Thanks, Richard!
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Todd Geist wrote:
What messages can you listen for in FrontScripts? I know user input
messages can be intercepted there, but I am not sure about what other
engine Messages, or if it is possible to listen for custom messages.
You can trap anything in a frontScript by just adding a handler with
Hello
What messages can you listen for in FrontScripts? I know user input
messages can be intercepted there, but I am not sure about what other
engine Messages, or if it is possible to listen for custom messages.
Thanks & Happy New Year!
Todd
___
use-
17 matches
Mail list logo