Widget API: EditBox:ClearFocus

From AddOn Studio
Jump to navigation Jump to search

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]