void setReadOnly(BOOL readOnly)
wstring getSelectedText()
Gets the selected text content.
void replaceSelectedText(const wstring &newText)
int getTextLimit()
Gets the max allowed length of the text.
void onDataChanged(WinHandle hTarget, const wstring &newValue, const ProcParams &procParams)
Handles data changed events.
void setMaxLength(int maxLen)
wstring getText()
Gets the current text content.
void selectText(int startPos, int endPos)
void addDataChangedListener(DataChangeListener *l)
Adds a listener for data changed events.
void windowCreated()
Called when the window is created.
void setText(const wstring &text)
Sets the text content of the field.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Retrieves window creation options.
void setTextLimit(int textLimit)
Sets the max allowed length of the text.
void setCaretPos(int newPos)
int getPreferredHeight()
Gets the preferred height of the text field control.
TextArea()
Constructs a new TextArea.
void getLines(vector< wstring > &lines)
Gets the text as separate lines.