PDA

View Full Version : Set Active Index on a Panel with Accordion layout



UbuntuPenguin
16 Aug 2012, 7:12 PM
Hello Everyone,
I have a panel with an accordion layout, but I can't figure out for the life of me how to change the active index. The accordion layout does not have a 'setActiveItem' method like the card layout, so I am at a complete loss of how to do it.

Any help is greatly appreciated.

evant
16 Aug 2012, 10:13 PM
Just call expand on the appropriate panel.

UbuntuPenguin
17 Aug 2012, 4:53 PM
That was it !