stack position and flicker

Erik Hansen erikhans08 at yahoo.com
Mon Oct 3 21:49:52 EDT 2005



--- Ken Ray <kray at sonsothunder.com> wrote:

> On 10/3/05 12:42 AM, "Erik Hansen"
> <erikhans08 at yahoo.com> wrote:
> 
> >
> > --- Ken Ray <kray at sonsothunder.com> wrote:
> >
> >> It's better if you just change the rect of
> the
> >> stack instead of changing the
> >> height (which works from the vertical center
> of
> >> an object) and then setting its top.
> >
> > you must have developed a very good
> > sense of rectangular layout. setting the
> > height, width, top, & left of objects
> > makes it easier for me to visualize them
> > and to change things when needed.
> 
> True, and you can do this with card objects
> under lockScreen so you don't
> see the adjustments - but unfortunately that
> doesn't work for stacks - only
> changing the rect will make it appear not to
> jump around.

put 10 into tLeft
put 40 into tTop
put 400 into tWidth
put 200 into tHeight

set the rect of stack tStack to \
tLeft,tTop,tLeft+tWidth,tTop+tHeight

best of both worlds!

Erik Hansen

erik at erikhansen.org    http://www.erikhansen.org


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the use-livecode mailing list