RSS

Суббота, 20.04.2024, 05:55
Главная » WoW API » Событий API Виджетов »

OnTextChanged

[ править ]
Run when the edit box's text is changed.
[клоны]
Run when the edit box's text is changed. This script is run both when text is typed in the edit box (for each character entered) and when the edit box's contents are changed via :SetText() (but only if the text is actually changed).


Signature:
Code
OnTextChanged(self, userInput)

Arguments:
  • self - Reference to the widget for which the script was run (exitbox)
  • userInput - True if the text changed due to user input; false if the text was changed via :SetText() (boolean)

Доступна для: EditBox

Также смотрите: Событий API Виджетов
Ссылки: http://wowprogramming.com/docs/scripts/OnTextChanged