To add a text field for display or input one line of text (in this case, 30 characters wide):
|
The text which is displayed can be changed:
|
If the user can type input into the text field, it can be obtained:
|
Or you can disallow the user to type:
|
The TextArea class also has these methods, but it can display multiple lines. |