Value::SetText

Value::SetText
SF_INLINE bool SetText(const char* ptext);
SF_INLINE bool SetText(const wchar_t* ptext);
Description

SetText sets the text (plain text or Unicode text value) of a TextField. The text is assumed to be non-HTML and the text will not be processed for HTML codes.

Parameters
Parameters 
Description 
const char* ptext 
The text to be set on the TextField. Can be either plain or Unicode text value. 
Return Value

Returns true if text was set otherwise false. A false value will also be returned if the TextField was unloaded from the stage.