Run when the position of the text insertion cursor in the edit box changes. Also run when the edit box gains or loses keyboard focus. Signature: Code OnCursorChanged(self, x, y, width, height)
Arguments: - self - Reference to the widget for which the script was run (editbox)
- x - Horizontal position of the cursor relative to the top left corner of the edit box (in pixels) (number)
- y - Vertical position of the cursor relative to the top left corner of the edit box (in pixels) (number)
- width - Width of the cursor graphic (in pixels) (number)
- height - Height of the cursor graphic (in pixels); matches the height of a line of text in the edit box (number)
Доступна для: EditBox
Также смотрите: Событий API Виджетов
Ссылки: http://wowprogramming.com/docs/scripts/OnCursorChanged
|