Setting Location of a Stack Relative to Location of AnotherStack

Steven Axtell saxtell at neb.rr.com
Sun Jun 22 10:32:18 EDT 2008


Dave,

Thanks a bunch.

Steve


----- Original Message ----- 
From: "Dave" <dave at looktowindward.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Sunday, June 22, 2008 9:29 AM
Subject: Re: Setting Location of a Stack Relative to Location of 
AnotherStack


> Hi,
>
> This should do it:
>
> put the rect of stack "DEF" into myRect
> add 20 to item 1 of myRect
> add 20 to item 2 of myRect
> add 20 to item 3 of myRect
> add 20 to item 4 of myRect
> set the rect of stack "ABC" to myRect
>
> All the Best
> Dave
>
>
> On 22 Jun 2008, at 15:09, Steven Axtell wrote:
>
>> Is there a way to set the location of a stack relative the location  of 
>> another stack?  I know the following code is not correct (Rev  applied it 
>> but did nothing with it), but I'm trying to do something  like this:
>>
>> set the location of stack "ABC" to 20,20 from the location of stack 
>> "DEF"
>>
>> Thanks,
>>
>> Steve Axtell
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 





More information about the use-livecode mailing list