We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › controlP5 editable textarea
Page Index Toggle Pages: 1
controlP5 editable textarea (Read 1355 times)
controlP5 editable textarea
Apr 14th, 2010, 3:18pm
 
hi

is this doable with controlP5 or am I better off looking at GP4 for this?

Mark
Re: controlP5 editable textarea
Reply #1 - Apr 14th, 2010, 5:33pm
 
currently not possible, a revamped version of textfield and textarea is in the making including editable textareas. G4P might do the job for you. If your textarea does not need to be included in the display window of your sketch, swing's JTextArea has been used here: JTextArea edit in processing. (i would put gX=frame.getX... into setup or only open the textarea when needed e.g. with a mouseEvent or keyEvent etc. instead of using draw to continuously create a new textarea and JFrame. in this specific example use gui.ta.getText(); to get the current text of the textarea)
Re: controlP5 editable textarea
Reply #2 - Apr 15th, 2010, 4:02pm
 
hi

thanks for getting back

I'll see if I can figure it out & upload the project when its done

+ is there anyway to get rid of the '9 o'clock' mark on the control knob widget

thanks again

Mark
Page Index Toggle Pages: 1