ResizeStack message

Richmond richmondmathewson at gmail.com
Sun May 25 15:52:45 EDT 2014


On 25/05/14 22:18, Richmond wrote:
> 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.
>

Desktop furniture . . .

Menubar on Mac,

Startbar on Windows,

Assorted twiddly things on Linux.

Richmond.




More information about the use-livecode mailing list