Can cards in a stack be of different sizes

Jim Hurley jhurley at infostations.com
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 
[,totalTime]]]

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.

Jim


More information about the use-livecode mailing list