Re: messages path
Posted: Sun May 15, 2011 4:04 pm
Hi Bernd,
I'd call that a bug.
Best regards,
Mark
I'd call that a bug.
Best regards,
Mark
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
I don't believe background buttons in HC ever passed through the card. The messages went directly to the background, then to the stack. So the current behavior looks correct to me.Mark wrote:Hi Bernd,
If you want to mimic the HyperCard behaviour, the button that's part of the group should return
card
background
Agreed. That isn't what you said in the part I quoted, which is why I commented.Mark wrote:Jacque,
You don't see what the problem is. In HyperCard, once a message is sent to the background, it never goes back to the card before continuing to the stack.
In HC the message path was pretty rigid, and there was a distinct difference between card and background objects. If an object was on a background, it was already behind the card layer, and it made sense that the card should not get any messages related to it. The message path was like this:FourthWorld wrote:This may sound sacrilegious, but maybe HyperCard was wrong.
The notion of inserting or remove the script of one object (the card) from the message path of an object based on whether that object is a member of a different object (the background) seems an unnecessary ambiguity, and a particularly odd and disjointed one. Why would we not want a single message path for all objects on a given card?
I have to agree with you here. As probably one of the few remaining people who still gets HC conversion work, I know that there are already enough tweaks required that having one more is hardly likely to matter. The first thing I do with a converted stack is to turn off HCAddressing, so the path issue is pretty much moot for me. I wouldn't ask the RR team to spend any time on this at all, the audience for it is so tiny and those of us who still do the occasional conversion can deal with it easily.FourthWorld wrote:So it breaks a few HC stacks. In mid-2011, what practical impact will that make?