WoW:UIHANDLER OnChar: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Note about Delete key in OnChar)
mNo edit summary
Line 12: Line 12:


This event handler is listed under UI Widgets other than EditBox, but I have no idea if it functions at all in anything besides an EditBox (given that without a widget that accepts characters, how can there be an '''OnChar''' handler?)
This event handler is listed under UI Widgets other than EditBox, but I have no idea if it functions at all in anything besides an EditBox (given that without a widget that accepts characters, how can there be an '''OnChar''' handler?)
== Comments ==
I found the hard way that the DELETE key is not trapped this way. Use OnTextChanged if you want to trap changed text rather than something being entered.
-- [[User:ClemSnide|ClemSnide]] 07:31, 20 April 2007 (EDT)

Revision as of 18:03, 7 December 2007

Widget handlers < OnChar

Description

Called whenever a character is typed into the EditBox by the user.

Arguments

arg1
The character that was typed

Note

This event handler is listed under UI Widgets other than EditBox, but I have no idea if it functions at all in anything besides an EditBox (given that without a widget that accepts characters, how can there be an OnChar handler?)