Page 1 of 1

collapse/expand events

PostPosted: 15 Feb 2017 15:45
by buzud
I use accordion instead of list view, because I can add controls (buttons) as action when you select an item (on runtime I create controls under the accordion tabs);Now, because number of tabs are based on records bring from database, I do not want to create all controls for every item (is not acceptable).
Than I need to access the collapse/expand events but I can not find it ? Can you help me please ?
Thanks!

I think I found: Accordion.OnTabChanged := AddComntrolsToTab;
where procedure AddComntrolsToTab(Sender:tObject;APrevTab: TIWCGJQMAccordionTab;ANewTab: TIWCGJQMAccordionTab);

Note: is not working, this is executed on load...but seems do not execute when select another tab

Re: collapse/expand events

PostPosted: 16 Feb 2017 16:59
by Alexander Bulei
Hi buzud,

There is no such events at this moment, but we will implement them asap.

Best Regards.