ControlP5 help: How to remove an element
in
Contributed Library Questions
•
11 months ago
Hello
I'm new to programming and I've just started working with the libary ControlP5 in processing, so far it have been working great, except that I can't figure how to remove elemenets I've created with the libary.
For example if i create a bang like this:
Thanks,
Egerod
I'm new to programming and I've just started working with the libary ControlP5 in processing, so far it have been working great, except that I can't figure how to remove elemenets I've created with the libary.
For example if i create a bang like this:
- cp5.addBang(Exit)
.setPosition(50,100)
.setSize(50,20)
.setTriggerEvent(Bang.RELEASE)
.setLabel(Exit)
.getCaptionLabel().align(ControlP5.CENTER, ControlP5.CENTER)
;
Thanks,
Egerod
1