Widget API: EditBox:ClearFocus
← 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
- 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.