CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Auto-closing Tabs

by stuartcf » 15 Feb 2015 14:07

I am a relatively new adopter of CGDevTools components, using them with Delphi XE7 and Intraweb 14. My JavaScript knowledge is minimal, and so I tend to rely on doing things the "Delphi" way (hence choosing your packages).

After looking through and experimenting with the available sample demos and documentation I could find on your Accordion component, I am unable to find a way of automatically closing any tab that is already open when a new one is accessed. Is this possible?

The typical events needed for me to code such a task do not seem to be surfaced in your components. Am I missing something, or is this something for the wishlist?

Regards

Stuart.
stuartcf
 
Posts: 6
Joined: 28 Dec 2014 12:16

by Alexander Bulei » 16 Feb 2015 10:20

Hi Stuart,

Please set the IWCGJQMAccordion.GroupTabs to True:

delphi code
IWCGJQMAccordion.GroupTabs:= True;


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by stuartcf » 16 Feb 2015 12:08

Perfect! How did I miss that? :oops:

Thanks guys!
stuartcf
 
Posts: 6
Joined: 28 Dec 2014 12:16


Return to JQMAccordion

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.