Expanding List
dunbarx at aol.com
dunbarx at aol.com
Wed Oct 29 15:20:51 EDT 2014
Hi.
Simple to do as a kluge. You get the clickLine, and will have already stored the subLines in a custom property. These sublines are arranged in an addressable way, so that if you click on line 3 in the field, the third group of sublines is identified. You simply insert the sublimes below the click line.
Getting rid of them might be done by prepending a char, like a dash, before each subLine, and before the field loads any new group, it purges all lines with that marker. Or some other way.
Craig Newman
-----Original Message-----
From: Peter Bogdanoff <bogdanoff at me.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, Oct 29, 2014 2:41 pm
Subject: Expanding List
Hi,
I want to reproduce the idea of a field with an expanding list of items whereby
you click on a super line of text and it shows and hides sub lines directly
below it, and before the next super line.
Does someone have a plug in, or idea for doing this in LC?
Peter Bogdanoff
UCLA
_______________________________________________
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
More information about the use-livecode
mailing list