Scrolling Cards

Ray Bennett smilingeyes at mac.com
Wed Dec 17 11:23:19 EST 2003


I'm not sure I'm understanding you perfectly, but this _may_ be what 
you're after...

You're middle section, I presume, consists of a bunch of child fields.  
  If you select all of these child fields and group them, then make that 
group scrollable, it will allow you to scroll only the middle section 
(this won't have the appearance of scrolling the card, though).   This 
sounds like what you're after.

One of the bonuses in grouping things this way is that you can 
dynamically grow the groups size by adding more child fields to it.  
For instance when you click on a parent record and it has 30 children, 
you can add the additional fields to the group and it will grow 
proportionately.  You will need to make sure when you're done, then, 
that you reset the groups height to match that of the card - then 
you're scrollbar will be exactly what you need.   (If you lock the 
groups location and size you may not need the last step.)

Hope this helps.
Ray


On Wednesday, December 17, 2003, at 06:35 AM, Jim Carwardine wrote:

> Thanks, folks.  My record, when displayed has 3 sections.  It's the 
> middle
> section I want to scroll with the children fields displayed.  Does that
> cause a problem?  Jim
>
> 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
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the Use-livecode mailing list