Multi-line editText UI items in Scripted Rollouts

Topic: version 4 MAXScript New Features/Scripted Plug-In/Scripted Rollouts

Multi-line editText UI items can now be created in scripted rollouts.

If an explicit height: parameter is supplied on an editText item definition that specifies a pixel height greater than one line of text, that editText item becomes a multi-line edit box, allowing multiple lines of text to be entered.

When in multi-line mode, <enter> keystrokes no longer cause the 'on entered' handler to be called, but are inserted into the edit box as new lines.

They do, of course, cause 'on changed' handlers to be called. These are called on every keystroke.

For multi-line editText items, 'on entered' handlers are called when the edit box loses keyboard focus, such as if you tab or click out of the edit box.

See also