Fandom

WoWWiki

API EditBox SetText

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Widget API ← EditBox < SetText


Sets editBox's text to the specified string.

editBox:SetText(str)


Arguments Edit

str (string) -- the string you want to appear in the EditBox

Returns Edit

nil

Details Edit

You should call a SetText("") every time you read from an EditBox, so the command line is free for the next input.

See Also Edit

Also on Fandom

Random Wiki