WoW:API EditBox ClearFocus: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API EditBox ClearFocus to API EditBox ClearFocus without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Clears the cursor focus out of the EditBox.
{{widgetmethod}}
 
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 04:45, 15 August 2023

Widget API ← EditBox < ClearFocus

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

editBox:ClearFocus()


Arguments[edit]

none


Returns[edit]

nil

Hints[edit]

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[edit]