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 |
Description |
const char* ptext |
The text to be set on the TextField. Can be either plain or Unicode text value. |
Returns true if text was set otherwise false. A false value will also be returned if the TextField was unloaded from the stage.