Can cards in a stack be of different sizes

Jim Hurley jhurley at
Tue Nov 4 08:57:29 EST 2003

One more word on this subject.

I think many of us may have missed the new Rev command introduced in 
2.0: RevChangeWindowSize. I just stumbled on it myself.

As defined in the docs:

revChangeWindowSize  newWidth, newHeight [,animation [,cardNumber 

With examples:

revChangeWindowSize 100,120
revChangeWindowSize the width of stack "Template",200,"slide"
revChangeWindowSize myWidth,myHeight,"snap",1 -- displays card 1
revChangeWindowSize 200,250,"slide",,500 -- slides over 1/2 second

It leaves the upper left hand corner of the window fixed.

Very nice.


More information about the Use-livecode mailing list