Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
 
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
  +
{{widgetmethod}}
Clears the cursor focus out of the EditBox.
 
  +
  +
Clears the input text focus out of the EditBox. After this call EditBox will no longer receive input from keyboard.
  +
  +
editBox:ClearFocus()
  +
  +
  +
== Arguments ==
  +
:''none''
  +
  +
  +
== Returns ==
  +
:''nil''
  +
  +
== Hints ==
  +
Don't forget to set your editboxes to not to be autofocused, because after pressing a key, it will be automatically refocused and you overwrite it's content.
  +
  +
== See also ==
  +
* [[UIOBJECT EditBox|EditBox]] object
  +
* [[API EditBox SetFocus|EditBox:SetFocus()]]
  +
* [[API EditBox IsAutoFocus|EditBox:IsAutoFocus()]]
  +
* [[API EditBox SetAutoFocus|EditBox:SetAutoFocus(autoFocus)]]

Latest revision as of 23:52, 14 July 2008

Clears the input text focus out of the EditBox. After this call EditBox will no longer receive input from keyboard.

editBox:ClearFocus()


Arguments

none


Returns

nil

Hints

Don't forget to set your editboxes to not to be autofocused, because after pressing a key, it will be automatically refocused and you overwrite it's content.

See also