
Prototype: GemRB.CreateTextEdit(WindowIndex, ControlID, x, y, w, h, font, text)

Metaclass Prototype: CreateTextEdit(ControlID, x, y, w, h, font, text)

Description: Creates and adds a new TextEdit field to a Window. Used in PST MapNote editor. The maximum length of the edit field is 500 characters.

Parameters:
WindowIndex - the value returned from LoadWindow
ControlID   - the new control will be available via this controlID
x,y,w,h     - X position, Y position, Width and Height of the control
font        - font BAM ResRef
text        - initial text

Return value: N/A

See also: CreateLabel, CreateMapControl, CreateWorldMapControl, CreateButton

MD5: dd93ef5d51dda6ab1a2b5050bb0c4e3f
