RSS

Вторник, 16.04.2024, 18:13
Главная » WoW API » Событий API Виджетов »

OnEscapePressed

[ править ]
Run when the Escape key is pressed while the edit box has keyboard focus.
[клоны]
Run when the Escape key is pressed while the edit box has keyboard focus. By default, an EditBox provides no way to clear keyboard input focus (though clicking in another edit box will focus it instead) -- providing an OnEscapePressed handler to call :ClearFocus() (or inheriting from the default UI's InputBoxTemplate, which does so) may prove useful.


Signature:
Code
OnEscapePressed(self)

Arguments:
  • self - Reference to the widget for which the script was run (editbox)

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

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