Hello,
I can call:
controlP5.addTextfield("test_textfield",10,10,200,20).setId(1);
((Textfield)controlP5.controller("test_textfield")).setValue("100");
that works fine.
Now with a group I can call:
controlP5.addGroup("test_group",100,10)).setId(2);
So i would like to call:
((Controllergroup)controlP5.controller("test_group")).setBackgroundHeight(150);
but this doesn't work.
My question: what is the syntax to address a dynamic made group in controlP5?
Thanks,
Bas
I can call:
controlP5.addTextfield("test_textfield",10,10,200,20).setId(1);
((Textfield)controlP5.controller("test_textfield")).setValue("100");
that works fine.
Now with a group I can call:
controlP5.addGroup("test_group",100,10)).setId(2);
So i would like to call:
((Controllergroup)controlP5.controller("test_group")).setBackgroundHeight(150);
but this doesn't work.
My question: what is the syntax to address a dynamic made group in controlP5?
Thanks,
Bas
1