On 25/05/14 21:06, Terence Heaford wrote:
Thanks for your assistance.
Clearly, using resizeStack is not as straightforward as first thought.
I have just tried this handler in the card script:
on resizeStack tWidth,tHeight
put tWidth & "," & tHeight
end resizeStack
It returned 1590,972
In the stack property inspector the stack width is 1590 (as above), the stack
height is 950.
Well; I may be being a bit stupid ??? BUT, iff all you want to do is
find out a stack's dimensions
why not do something like this in a button:
on mouseUp
put (the width of stack "quack") && (the height of stack "quack")
end mouseUp
Richmond.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode