Wikia

WoWWiki

API EditBox GetText

Talk0
101,500pages 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


str = editBox:GetText()

Returns the String that is currently entered in the EditBox.


Arguments

???


Returns
str
str
String - the current String in the EditBox

Details

Note that the special characters "|" and "\" are escaped in the returned string. That way GetText() returns "||" instead of "|" and "\\" instead of "\".


Comments

If you want to read in numbers you should use the GetNumber() function instead.

Around Wikia's network

Random Wiki