Page 1 of 1
Accordion for LC
Posted: Sat Nov 23, 2024 8:14 pm
by bn
Recently "StrongBow" wondered whether there is an Accordion for LC
and I thought it looked nice and pretty useful.
I realise that Stam did an Accordion but that works a little differently and used a datagrid adding a bit of complexity. (Look for it on Livecodeshare)
I decided to take a try and posting here a version that is a work in progress but I would like to ask for feed back on what is lacking/not working.
There is a question mark in the stack which shows a field explaining how to change text and some sliders and button to do some basic maintenance operations.
It was fun sliding texts in an out all day...
Kind regards
Bernd
Re: Accordion for LC
Posted: Sun Nov 24, 2024 5:52 pm
by dunbarx
Bernd.
Downloaded, but could not get any action at all on the main group. Neither clicking, double-clicking, dragging did anything.
Craig
Re: Accordion for LC
Posted: Sun Nov 24, 2024 6:00 pm
by bn
Hi Craig,
the only thing that I can think of is that I saved above version as "Livecode" from LC 10.0.1 (rc2).
Here is a version saved as "Legacy 8.0"
Could you please try this one?
Kind regards
Bernd
Re: Accordion for LC
Posted: Sun Nov 24, 2024 6:03 pm
by Klaus
I can open and use both versions with LC 10.0.0!
Re: Accordion for LC
Posted: Sun Nov 24, 2024 11:33 pm
by dunbarx
I am at home with 9.6.1 Community, Mac OS 10.15.7. I can use all the live text tools. They work fine. But the main accordion is not doing anything.The message watcher shows the usual, "mouseUp", etc.
I see no errors in the debugger through the main group "mouseUp" handler all the way to completion. I will try tomorrow with my licensed version.
Craig
Re: Accordion for LC
Posted: Mon Nov 25, 2024 2:19 am
by richmond62
Works fine with LC 9.6.3 community.
Re: Accordion for LC
Posted: Mon Nov 25, 2024 2:38 pm
by Lance
Hello Bernd, thanks for the sample stack, pretty neat and nice that you put all the extra controls. Very easy to see how it works. Worked great for me in ver 9.6.13.
Re: Accordion for LC
Posted: Mon Nov 25, 2024 3:26 pm
by dunbarx
Bernd.
OK, works fine in my machine at my office. Cannot imagine what the story is at home, since I develop LC stuff there as well.
Craig
Re: Accordion for LC
Posted: Tue Nov 26, 2024 8:18 am
by Kangaroo SW
Hello Bernd,
This is fantastic – thanks for sharing! It works great in HTML5.
I like the fact that the groups are self-contained, so after editing, they can be copied. This is very smart
Thanks again,
Rolf
Re: Accordion for LC
Posted: Tue Nov 26, 2024 3:31 pm
by bn
Hi Rolf,
I am glad you like the accordion.
Currently I am pondering how to change the text of the fields other than drag-drop or copy.
Kind regards
Bernd
Re: Accordion for LC
Posted: Wed Dec 11, 2024 9:03 pm
by bn
Hello,
An improved version of Accordion.
You can now reorder the tiles

- MoveTiles.jpg (32.15 KiB) Viewed 12475 times
And you can also edit text of Header and Body via a PopUp widget that it generated on the fly
Some performance increases for web deployment.
See Help and Accordion for more info.
Kind regards
Bernd
Re: Accordion for LC
Posted: Sat Jan 11, 2025 12:59 pm
by bn
Hello,
A slightly improved version of Accordion (0.6.1): it is now all "flat" (in the sense of material design), code cleanup.
Recommended version.
Kind regards
Bernd
Re: Accordion for LC
Posted: Wed Jan 15, 2025 8:42 am
by Kangaroo SW
Hello Bernd
I just Love it
Thanks for sharing !
Cheers
Rolf
Re: Accordion for LC
Posted: Mon Jan 20, 2025 1:23 pm
by okk
Thanks for providing it to the community! This is very useful. Best. Oliver