On Sunday, January 18, 2004, at 02:49 AM, [EMAIL PROTECTED] wrote:


Message: 5
Date: Sat, 17 Jan 2004 19:08:01 -0400
From: Jim Carwardine <[EMAIL PROTECTED]>
Subject: Re: Scrolling Cards
To: Revolution Listserve <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

I'm still having trouble with this concept. I've grouped a bunch of buttons
and locked the location. I also went into the Geometry properties and
clicked on the pipes that Ray noted. Now, the group is stable on openCard,
but there are things that seem to happen when I quit Rev, restart it and
open my file.


First, as soon as the card appears on re-opening the file, the scroll bar on
the group is off the card - the groups rect has resized. What I noticed is
that the group, locked down as it is, will resize to its original size if
the card window width is smaller than the group rect width (the card window
overlaps). I can cause this to happen by manually resizing the stack window
to overlap the group rect.


I also noticed that when I re-open the file, the card/stack window seems to
have shifted, causing the group scroll to behave the way I've described.
With all the controls I can tweak on groups and stacks, I'm not getting the
right combination to stabilize my scrolling group.


There's lots of discussion of scrolling cards in the archives but nothing I
can find to help correct my problem.


What am I missing? Jim

I was having the same problem with groups -- if I made any of the items in the group extend below the group, the group bottom would shift a bit, and it would eventually disappear below the bottom of the window.


What I've done is create a preOpenStack handler and in it I size and locate the group before the stack opens. Then I override the resizeStack handler, and do all the group resizing manually. Do the size calculations yourself, it takes no time at all, and I've had no problems with the group being the wrong size since. Oh, and be sure to turn off all geometry (check it twice that it's off), and turn on "Lock Size and Position".

By the way, is there an FAQ somewhere? I'd like to add a couple of things I've found in the course of creating this photo album product I'm doing. For example how drag and drop really works (i.e. you don't always get a dragEnd message), as well as how cool groups are once you decide to handle the resizing yourself, how to scroll a group on the fly, etc..

Best,
-- Frank Leahy

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to