SetTextBoxText: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetTextBoxText(textid, text)}} {{FuncParameters}} {{FuncParam|textid|__EDIT_ME__}} {{FuncParam|tex..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Set the string of the specified text box.}} | ||
{{FuncSyntax|SetTextBoxText(textid, text)}} | {{FuncSyntax|SetTextBoxText(textid, text)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|textid| | {{FuncParam|textid|The text identifier.}} | ||
{{FuncParam|text| | {{FuncParam|text|The string of the text you want to show.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' on success.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang='Lua'> | |||
SetTextBoxText(textId, "Update") | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{TextFunctions}} |
Latest revision as of 17:07, 16 January 2020
Description
Set the string of the specified text box.
Syntax
SetTextBoxText(textid, text)
Parameters
- textid
The text identifier. - text
The string of the text you want to show.
Return Value
- Returns true on success.
Example
SetTextBoxText(textId, "Update")