It's easy for this to be confusing, especially if the OP has ever done coding with Javascript and HTML forms. The onChange event only activates once focus moves away from the editbox. mIRC's dialog edit event works like the Javascript onKeyDown event.

-genius_at_work