API:AccountLogin OnKeyDown

__NOTOC__
Fired on key presses. Calls AccountLogin_Exit if escape is pressed.
AccountLogin_OnKeyDown(this, key)
== Parameters ==
=== Arguments ===
:;this
::String - uses self frame name, "AccountLogin"
:;key
::String - This has only 1 useful value, and that is "ESCAPE".
=== Returns ===
:nil
== Example ==
AccountLogin_OnKey("AccountLogin", "ESCAPE")
== Related Functions ==
* AccountLogin_Exit
* AccountLogin_FocusAccountName
* AccountLogin_FocusPassword
* AccountLogin_Login
* AccountLogin_OnKeyUp
* AccountLogin_OnLoad
* AccountLogin_OnMouseDown
* AccountLogin_OnMouseUp
* AccountLogin_OnShow
* AccountLogin_OnUpdate
* AccountLogin_Show
* AccountLoginPasswordEdit_OnGained
* AccountLoginPasswordEdit_SetText
* AccountLoginShow
== Source Code ==
function AccountLogin_OnKeyDown(this, key)
	if ( key == "ESCAPE" ) then
		AccountLogin_Exit();
	end
end
Category:Functions