Skip to main content


deprecated class %ZEN.Component.textarea extends %ZEN.Component.control

Multi-line text input control. This is a simple wrapper around the HTML textarea control.
Note that many browsers do not cope well with long lines of unbroken text (i.e., greater than 4K characters with no white space.)

Property Inventory

Method Inventory


parameter DEFAULTCONTROLCLASS = textarea;
Inherited description: The default css class used for the main element within this control. This is overridden by subclasses.


property cols as %ZEN.Datatype.integer (MINVAL = 0);
Number of columns in the textarea control.
Property methods: colsDisplayToLogical(), colsGet(), colsIsValid(), colsLogicalToDisplay(), colsLogicalToOdbc(), colsNormalize(), colsSet()
property rows as %ZEN.Datatype.integer (MINVAL = 0);
Number of rows in the textarea control.
Property methods: rowsDisplayToLogical(), rowsGet(), rowsIsValid(), rowsLogicalToDisplay(), rowsLogicalToOdbc(), rowsNormalize(), rowsSet()
property spellcheck as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
If true, this control has spellcheck enabled. Assuming this is an HTML5 browser implementation. IE9 does not support this.
Property methods: spellcheckDisplayToLogical(), spellcheckGet(), spellcheckIsValid(), spellcheckLogicalToDisplay(), spellcheckLogicalToOdbc(), spellcheckLogicalToXSD(), spellcheckNormalize(), spellcheckSet(), spellcheckXSDToLogical()


method %DrawHTML()
Inherited description: Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
clientmethod isModified() [ Language = javascript ]
Return true if the current value of this control is different than its orginal value.
Override default implementation.
clientmethod onchangeHandler() [ Language = javascript ]
This built-in event handler is called by the HTML control associated with the control to raise notification that the control's value has changed. Override to set our modified flag.
clientmethod onloadHandler() [ Language = javascript ]
This client event is fired when the page is loaded.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab