Scrolling List Field/Table

Peter Haworth pete at lcsql.com
Thu Nov 15 21:27:57 EST 2012


Well, I guess understanding the new paragraph features is going to take a
while.  Not even sure what a paragraph is in the context of a scrolling
list field - is every line a paragraph? Also not sure if I can replicate a
table exactly since I want to have the ability to scroll vertically.

For now, I'm ploughing ahead trying to use a table.  I figured out the
scrolling issue, the amount to move (up or down) is the difference between
the previous and current vscroll - that all works fine now.

I have what I think is probably a more complex issue to solve though.  If I
scroll the field so that the table starts to go past the top or bottom of
the file, it stays visible and just keeps on scrolling.  I need to figure
out a way to have the parts of the table that move beyond the top and
bottom borders of the field disappear.  The closest I have so far is to
position an opaque rectangle between the top of the field/stack and bottom
of the field/stack.  The table then disappears behind the rectangle.
 Almost there but it still looks a little strange because the the table
stomps on the line borders of the field before disappearing.

Any ideas?

Pete
lcSQL Software <http://www.lcsql.com>



On Thu, Nov 15, 2012 at 3:44 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 11/15/12 5:18 PM, Peter Haworth wrote:
>
>> I would like to have a scrolling list field that includes a table control
>> within it.  The challenge is to have the table field scroll when the list
>> scrolls.
>>
>
> Seems like the new paragraph features would be handy here. You can
> simulate a table with them and they are part of the field so they scroll
> normally.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the use-livecode mailing list