API:AccountLogin OnKeyDown

From Runes of Magic Wiki - The Runes of Magic

Jump to: navigation, search

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

Source Code

function AccountLogin_OnKeyDown(this, key)
	if ( key == "ESCAPE" ) then
		AccountLogin_Exit();
	end
end
Personal tools