I have a WebTextField. I’d like to be able to detect several different event sequences:
- user hits the Tab key to go to another control
- user clicks out of the WebTextField (to the window, or to another control)
- user hits the Enter or Return key on the keyboard
#1 and #2 both raise the FocusLost event, but I can’t see an easy way to distinguish between “Tab out” vs “click out”. Unlike DesktopWindow, WebPage doesn’t have a .focus property to see which control has focus now.
#3, I can’t see any way to trap Enter or Return