Page 1 of 1

card with 2048 x 768

Posted: Wed Nov 16, 2011 1:37 pm
by Es124
Hi,

is it possible to import a card (with size 2048 x 768 with scroll option ) from an other stack into a stack where all the other cards our 1024 x 768 ? The imported card have to remain 2048 x 768 for scrolling.
I try to copy everything from the original card ( 2048 x 768 ) into a new card in the new stack, but the new card can't be locket to the size 2048 x 768, and everything is automatically put into size 1024 x 768 . ( i changed the size to 2048 x 768 but impossible to lock).

Also how do i make a card scrollable ?

thanks
Enno

Re: card with 2048 x 768

Posted: Wed Nov 16, 2011 2:15 pm
by Klaus
Hi Enno,

sory, this is not possible!
The size of a stack defines the card size -> stack size = card size.

BUT you can of course set the stack/card size in a "preopencard" handler to the neccessary size
and "reset" it on "closecard" or something like that.

Cards (windows per se) cannot be scrolled!
The trick is to group ALL objects on a card and set the scrollbars of that group to true. :D
Then add this "resizestack" handler to your stack:

Code: Select all

on resizestack
  set the rect of grp "the one with ALL objects in it" to the rect of this cd
end resizestack
Hope that helps.


Best

Klaus