Terrible RunRev Bug? - Was Weirdness Passing Messages
David Burgun
dburgun at dsl.pipex.com
Thu Mar 23 12:25:17 EST 2006
Hi,
The following form, *seems* to work with the multi-stack setup I have:
set the text of the long name of me to "xxxxx"
Thanks a lot
All the Best
Dave
On 23 Mar 2006, at 17:13, Ken Ray wrote:
> On 3/23/06 7:55 AM, "David Burgun" <dburgun at dsl.pipex.com> wrote:
>
>> Hi All,
>>
>> I have a problem that first I thought was something that I was doing
>> wrong but now I'm not sure and would like confirmation of how the
>> Context mechanism works in RunRev.
>>
>> I have the following setup:
>> 1 StackMain:Card1:ObjectA:mouseUp - Calls Function
>> StackUtil:PutMessage("MessageX")
>> 2 StackUtil:PutMessage - Calls Handler
>> StackMain:Card2:ObjectX:MessageX (via send)
>
> I think this is the problem in a nutshell, David. I've used a
> number of
> other xTalks, and most of them won't allow you to send or trigger
> messages
> in cards other than the one that's currently displayed. They
> generally have
> you lock the screen, go to the card in question, execute the
> handler, then
> return to the card you started from, then unlock the screen.
>
> The fact that Rev allows you to do this is quite honestly a
> surprise to me.
> Personally, I'd recommend moving the function you want to call to
> something
> more accessible, like a stack, library, or backscript.
More information about the use-livecode
mailing list