Hello! I’m new to cp5 lib and processing at all, but I work on a project from about a month and today I faced a problem and can’t find anyone with the same in the forum. I couldn’t figure out how to change the textfield cursor’s colour.
I really need your help!
Thanks in advance!!
Taking a step back, can I ask why you want to change the color of the cursor?
Not sure if cp5 exposes any methods to customize the caret’s color. Did you explore all the function calls associated to the cp5 element that you want to change? I suggest you provide some code demonstrating what you want to change. No need to provide your actual source code. It is better if you use a small code base, an mcve.
Thanks for the reply!
I was trying to change it because it was the same colour as the textfield’s and it was like I don’t have a cursor.
However, @jb4x suggested setColorCursor() function and it works.