A follow up question. :)
I tried Andreas Schlegels Accordion example (with eclipse) and it worked fine.
Then I tried to get the Accordion to the ControlWindow by adding
- menu = cp5.addControlWindow("Menu", 700, 230, 300, 500);
and .moveTo to the accordion.
- accordion = cp5.addAccordion("acc")
- .setPosition(40,40)
- .setWidth(200)
- .addItem(g1)
- .addItem(g2)
- .addItem(g3)
- .moveTo(menu)
- ;
The Accordion appears in the ControlWindow but buttons, sliders...don't work. Any ideas what I did wrong?
thanks again