EditBox:ClearFocus

From Warcraft Wiki
Jump to navigation Jump to search

Clears the input text focus out of the edit box.

EditBox:ClearFocus()

Details

  • After this call the edit box will no longer receive input from keyboard.
  • Don't forget to set your edit boxes to not be autofocused, because after pressing a key, it will be automatically refocused and you overwrite it's content.