WoW:UIHANDLER OnChar: Difference between revisions
Jump to navigation
Jump to search
m (Robot: Removing selflinks) |
m (Note about Delete key in OnChar) |
||
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 11:31, 20 April 2007
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?)
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. -- ClemSnide 07:31, 20 April 2007 (EDT)