Scrolling Cards

Jim Carwardine JimCarwardine at OwnYourFuture-net.com
Sat Jan 17 18:08:01 EST 2004


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


on 12/17/03 2:49 AM, Ray Bennett wrote:

> And make sure to go into the "Property Inspector" for the group Jacque
> described and open the Geometry properties.  Click on the vertical pipe
> that that exits the top of the object box and the horizontal pipe that
> exits the left side of the object box.  Each will turn red as you click
> it.   This will ensure that your group resizes with the window.
> 
> On Wednesday, December 17, 2003, at 12:49 AM, J. Landman Gay wrote:
> 
>> On 12/16/03 6:32 PM, Jim Carwardine wrote:
>> 
>>> I¹m very new to Revolution and I have a question.  I¹m designing a
>>> database
>>> that is relational in the sense that there are parent/child
>>> relationships
>>> between records that can go many levels deep.  When I look at a parent
>>> record, I want to see all of the first level children of that record
>>> in a
>>> list.  Each record has a number of fields I want to show.  What I
>>> seem to be
>>> reading in the docs for Rev is that I can place a vertical scroll bar
>>> on the
>>> card that will allow the fields in the card to scroll, which is
>>> exactly what
>>> I want to do.  Is that clear enough for someone to get me started?
>>> How do I
>>> do it?   Jim
>> 
>> The easiest way is to create a very tall card with enough space to lay
>> out all your fields. The card can be taller than the screen if
>> necessary. Then group all the fields and objects on the card. In the
>> property inspector, set the group to have a vertical scrollbar. Then
>> resize both the group and the stack window to be smaller than the card
>> so that the scrollbar becomes active. If you set the size of the group
>> to be the same size as the stack window, it will look just like a
>> scrolling document.
>> 
>> -- 
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution

-- 

OYF is... Highly resourceful people working together.
<http://www.OwnYourFuture-net.com>

Own Your Future Consulting Services Limited,
1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2
Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139





More information about the use-livecode mailing list