wstring getSelectedText()
Gets the selected text content.
int getTextLimit()
Gets the max allowed length of the text.
void onDataChanged(WinHandle hTarget, const wstring &newValue, const ProcParams &procParams)
Handles data changed events.
wstring getText()
Gets the current text content.
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.
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.