Wikia

WoWWiki

Changes: API EditBox SetText

Edit

Back to page

m (catfix, Replaced: {{widgetmethod}} → {{widgetmethod}}<br>)
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
 
Line 1: Line 1:
{{widgetmethod}}<br>
+
{{widgetmethod}}
 
__NOTOC__
 
__NOTOC__
   

Latest revision as of 23:53, July 14, 2008

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