-
Notifications
You must be signed in to change notification settings - Fork 83
makeTextBox
Steve Paget edited this page Jan 11, 2017
·
4 revisions
yourTextBoxName = makeTextBox(xpos, ypos, width, case*, startingText*, maxLength*, fontSize*)
parameters marked * are optional
Where:
xpos is an integer representing position of the TextBox from the left edge of the window.
ypos is an integer representing position of the TextBox from the top edge of the window.
width is an integer representing width of the textbox.
case is an integer representing case rule of the textbox:
- 0 means that letters can be capitalised using Shift as normal. This is the default.
- 1 means that all letters will be forced to be lowercase.
- 2 means that all letters will be forced to be uppercase.
Note: This function is used to make a TextBox object. It does not get the input. For that you need textBoxInput. You should only make a particular TextBox once, rather than each time you want to take an input.