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