WoW:API EditBox SetText: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} | ||
__NOTOC__ | __NOTOC__ | ||
Sets editBox's text to the specified string. | |||
editBox:SetText(str) | |||
:( | == Arguments == | ||
:'''str''' (string) -- the string you want to appear in the EditBox | |||
== Returns == | |||
:''nil'' | |||
== Details == | |||
You should call a SetText("") every time you read from an EditBox, so the command line is free for the next input. | You should call a SetText("") every time you read from an EditBox, so the command line is free for the next input. | ||
== | == See Also == | ||
* [[UIOBJECT EditBox|EditBox object]] | |||
* [[API EditBox GetText|EditBox:GetText()]] | |||
* [[API EditBox GetNumber|EditBox:GetNumber()]] | |||
* [[UI Escape Sequences]] | |||
[[UI Escape Sequences]] |
Revision as of 05:20, 8 September 2007
← Widget API ← EditBox < SetText
Sets editBox's text to the specified string.
editBox:SetText(str)
Arguments
- str (string) -- the string you want to appear in the EditBox
Returns
- nil
Details
You should call a SetText("") every time you read from an EditBox, so the command line is free for the next input.