Wikia

WoWWiki

API EditBox SetText

Talk0
102,031pages on
this wiki
Revision as of 23:53, July 14, 2008 by Charibot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Widget API


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

Around Wikia's network

Random Wiki