Hi David,

You always SET a property (custom or built-in): set the rect of me to myAdjustRect
You always PUT into a variable (or any container): put x into item 1 of tRect
Hope this clarifies :-)
Best,


Le 14 avr. 05, � 13:42, David Burgun a �crit :

Hi,

Ok, I have got that working by using "quote"! Now I have another problem!

The message handler that gets called is like so:

on Adjust theAdjustValue, theAxes
local myAdjustRect

put rect of me into myAdjustRect
if theAxes = "Width" then
    add theAdjustValue to item 4  of myAdjustRect
else
    add theAdjustValue to item 3 of myAdjustRect
end if

put myAdjustRect  into rect of me  -****** Error Here
end Adjust

This work except I get the following Script Error on the statetment marked *****

Type: Chunk Source is not a container
Object: "G-1027"
Line :  put myAdjustRect  into rect of me


However is I change the line to:

set the rect of me to myAdjustRect

It works fine!!!!

Any Ideas what is going wrong?


Amicalement,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
----------------------------------------------------------------
Web site                http://www.sosmartsoftware.com/
Email           [EMAIL PROTECTED]/
Phone           33 (0)1 43 31 77 62
Mobile          33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to