Strange behaviour of set the loc/set the rec (was 2.0 beta Bug?)

tkuypers at pandora.be tkuypers at pandora.be
Fri Apr 25 07:01:01 CDT 2003


Nope, not a Typo, the response Jan Schenkel sent was correct... It still
refers to the old group in the original stack..
Thanks anyway.
Ton

> From: Dave Cragg <dcragg at lacscentre.co.uk>
> Reply-To: use-revolution at lists.runrev.com
> Date: Fri, 25 Apr 2003 11:40:12 +0100
> To: <use-revolution at lists.runrev.com>
> Subject: Re: Strange behaviour of set the loc/set the rec (was 2.0 beta Bug?)
> 
> At 12:10 pm +0200 25/4/03, tkuypers at pandora.be wrote:
> 
>> Stack 1 has got a group named ³MyGroup²
>> This group has got 1 custom property: pNewLoc
>> 
>> Stack 2 has got a button with the script:
>> 
>> On mouseUp
>>     Put ³MyGroupName² into vMyGroup
>>     Copy group vMyGroup of stack ³Stack1² to stack ³Stack2²
>>     Close stack ³Stack1²
>>     put the pNewLoc of group vMyGroup into vLoc
>>     set the loc of group vMyGroup to vLoc
>> End mouseUp
>> 
>> The group is placed in stack 2 and stack 1 is closed, no errors, but the
>> position of the group remains unchanged...
>> 
>> When I enter the "set the loc..." command from the messagebox it works fine
>> When I enter the "set the loc..." command from a separate button it works
>> fine as well
>> 
>> Same problem goes for setting the rect...
> 
> It's not just a typo, is it? (MyGroup vs MyGroupName). It seems to work here.
> 
> Cheers
> Dave
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 




More information about the use-livecode mailing list