Question:
How can a SetPoint be set up to lose keyboard focus whenever Enter key is pressed?
Solution:
To do so, use the script below at KeyDown event of the screen where the SetPoint is. It will check whether Enter key has been pressed; if so, the keyboard will lose focus to the screen.
If keyCode = 13 Then
SetFocus()
End If