WoWWiki-Daleth@legacy41583389 (talk | contribs) No edit summary |
Charibot@legacy41530750 (talk | contribs) 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
The API is no longer being updated here until further notice. |
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
- EditBox object
- EditBox:SetFocus()
- EditBox:IsAutoFocus()
- EditBox:SetAutoFocus(autoFocus)