UIHANDLER OnEnterPressed

Fires when pressing enter, escape, press or tab.
 (self)
== Arguments ==
; self : - The widget.
== Details ==
* Fires after .
* FrameXML includes typical OnEscapePressed and OnTabPressed handlers in InputBoxScriptTemplate.
== Examples ==
Clears focus by pressing escape.
editBox:SetScipt("OnEscapePressed", function(self)
	self:ClearFocus()
end)
Adds four spaces by pressing tab.
editBox:SetScript("OnTabPressed", function(self)
	self:Insert(" "); -- 4 spaces
end)