There is a parameter to tell which group is the target of the message. I didn’t
think the group would need to check to see if it was supposed to be the target
of the message though. The openBackground dictionary entry doesn’t make that
clear. The preOpenBackground dictionary entry does point it
The alternative would be to send a separate message for every background on a
card. It is odd though. Brian, have you tried the target to determine the group
you need?
Bob S
> On Sep 5, 2018, at 13:55 , Mark Wieder via use-livecode
> wrote:
>
> On 09/05/2018 01:45 PM, Brian Milby via use-li
On 09/05/2018 01:45 PM, Brian Milby via use-livecode wrote:
Right, but the message for group B is sent to group A. If A doesn’t pass, B
never sees it. I see it in the dictionary, but it seems weird.
Yeah, that just seems wrong to me. Doesn't seem like there should be a
hierarchy for backgroun
Right, but the message for group B is sent to group A. If A doesn’t pass, B
never sees it. I see it in the dictionary, but it seems weird.
The openBackground works the same way, but the dictionary entry there makes it
sound like the message is direct. I only read that entry which is why I was
c
Because the background is being opened when the card is loaded. All backgrounds
on the card are opened, and therefore pre-opened.
Bob S
> On Sep 5, 2018, at 13:20 , Brian Milby via use-livecode
> wrote:
>
> Interesting.
>
> Now that I re-read it, I see the solution. That seems really odd
passes it, the message
> proceeds through each group in reverse layer order (from highest to
> lowest)."
>
> On 9/5/18 12:23 AM, Brian Milby via use-livecode wrote:
> > Quick question about the PreOpenBackground messages...
> >
> > If you have 2 background groups that bo
te:
Quick question about the PreOpenBackground messages...
If you have 2 background groups that both use the same button as their
behavior with the following code:
on preOpenBackground
put the short id of me after msg
end preOpenBackground
Wouldn't you expect to see the ID of both groups?
Same issue with openbackground
Thanks,
Brian
On Sep 5, 2018, 7:17 AM -0500, Paul Dupuis via use-livecode
, wrote:
> Change you code to:
>
> put the short id of this me after msg
>
>
> On 9/5/2018 1:23 AM, Brian Milby via use-livecode wrote:
> > Quick question abo
Quick question about the PreOpenBackground messages...
> >
> > If you have 2 background groups that both use the same button as their
> > behavior with the following code:
> >
> > on preOpenBackground
> > put the short id of me after msg
> > end preOpenBackground
Change you code to:
put the short id of this me after msg
On 9/5/2018 1:23 AM, Brian Milby via use-livecode wrote:
> Quick question about the PreOpenBackground messages...
>
> If you have 2 background groups that both use the same button as their
> behavior with the following
Quick question about the PreOpenBackground messages...
If you have 2 background groups that both use the same button as their
behavior with the following code:
on preOpenBackground
put the short id of me after msg
end preOpenBackground
Wouldn't you expect to see the ID of both groups
11 matches
Mail list logo