void setMaxLength(int maxLen)
wstring getSelectedText()
Gets the selected text content.
void replaceSelectedText(const wstring &newText)
TextField()
Constructs a new TextField.
void setCaretPos(int newPos)
void setPassword(BOOL isPassword=TRUE)
Sets whether this text field masks input as a password.
wstring getText()
Gets the current text content.
void addDataChangedListener(DataChangeListener *l)
Adds a listener for data changed events.
void onDataChanged(WinHandle hTarget, const wstring &newValue, const ProcParams &procParams)
Handles data changed events.
void windowCreated()
Called when the window is created.
void selectText(int startPos, int endPos)
void setText(const wstring &text)
Sets the text content of the field.
int getPreferredHeight()
Gets the preferred height of the text field control.
void setReadOnly(BOOL readOnly)
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Retrieves window creation options.