controlP5 / Textfield / setValue( )
- name
- setValue ( )
- description
- set the value of the textfield and will broadcast the new string value immediately. what is the difference between setValue and setText? setValue does broadcast the value that has been set, setText does not broadcast the value, but only updates the content of a textfield. for further information about how setText works, see the setText documentation.
- Syntax
setValue(theValue);
- parameters
- theValueString
- Returns
- None
- Usage
- Web & Application
- Related