The Text Area Object

Text area object is based on HTML textarea element <textarea>.

var taSample = new TTextArea(300, 100);
var wndTextAreaSample = createWindow('Text Area Sample');

wndTextAreaSample.add(taSample);
showModal(wndTextAreaSample);

Text area object constructor takes two parameters:

new TTextArea(width, height);

Text Area Methods and Properties
Method/Property Description
disable Disables text area object
enable Enables text area object
getHeight Gets text area object height
getValue Gets text area object text value
getWidth Gets text area object width
setMaxLength Sets max length for input characters in the text area object
setValue Sets text value for the text area object