Page 1 of 1

Is it possible to make expandable lists?

Posted: Wed Feb 05, 2014 7:46 am
by uhbbus
I'm wondering if livecode is able to handle two different list functions. The first one would be where someone clicks on an item in a list and another list opens with clickable items, and the second one would be where someone clicks on an item in a list and then the list expands, showing the content beneath.

For example, let's say I have a music database. I want the user to be able to click through from a list of music categories, then to a list of musicians in the category, then when the click on the musician's name, they would get a short blurb or bio. The format is: List 1 --> List 2 --> Expanded items

How would you implement the "list 1 --> list 2" part and how would you do the "list 2 --> expanded items" part?

Re: Is it possible to make expandable lists?

Posted: Wed Feb 05, 2014 8:24 am
by Simon
Hi uhbbus,
Welcome to the forums :)

Is this the sort of thing you are looking for?
http://forums.runrev.com/phpBB2/viewtop ... 399#p78436

Simon

Re: Is it possible to make expandable lists?

Posted: Wed Feb 05, 2014 12:53 pm
by MaxV

Re: Is it possible to make expandable lists?

Posted: Wed Feb 05, 2014 3:34 pm
by dunbarx
Hi.

Lots of ways around this, some fancy. But is what you need possible with a simple pulldown menu, one that has submenus in it? Try placing this in a pulldown and see if it sort of does what you need:

Choice1/|1
(tab) Choice2/|2
(tab) choice2a/|3
choice3/|4
Choice4/|5
(tab) Choice5/|6
Choice6/|7

Craig Newman

EDIT: I added the "(tab)" when I realized that what I copied from an actual pulldown contents did not format in my post. Not sure why this is so, but those tabs are required to invoke submenus. Anyway, see section "7.13.3" of the user guide for this info.

Re: Is it possible to make expandable lists?

Posted: Wed Feb 05, 2014 6:11 pm
by uhbbus
Nice! That's definitely what I'm looking for. It seems like the "List 1 --> List 2" transition is very straightforward, so I should have no problem with that. Thanks everyone!