
Prototype: GemRB.ConvertEdit(WindowIndex, ControlID[, ScrollBarID])

Description: Converts a TextEdit control into an editable TextArea control. TextAreas have unlimited editbuffer, scrollbar and wordwrap abilities. The optional ScrollBar must already been created.

Parameters:
WindowIndex - the value returned from LoadWindow
ControlID   - the old control's controlID, usually it will be preserved, but don't rely on it
ScrollBarID - the optional ScrollBar controlID.

Return value: The new ControlID

See also: CreateTextEdit
