Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

[ControlP5] Getting the reference of a text label

$
0
0

Hi there,

I'm Ignazio and I'm having great fun using Processing in conjunction with ControlP5. I have a small question, that got me stuck for a little while: I have the name of a textlabel stored in a string and I want to change an attribute of that label. I did something very similar with a button:

cp5.getController(buttonName).unlock();

In the example above I was unlocking the button which had the name stored in the string buttonName.

Any help?

Thank you very much, Ignazio


Viewing all articles
Browse latest Browse all 2896

Trending Articles