0

In .Net controls have a LostFocus event that fires when the control is no longer the active object; tabbing to next control or clicking somewhere else on the application. In Wolfram Language does EventHandler have a similar event?

The "MouseMoved" event cannot be used as this creates all manner of issues in a UI. Is there a hidden equivalent to .Net's LostFocus? If not can one be replicated without being dependent on the mouse events?

Edmund
  • 42,267
  • 3
  • 51
  • 143
  • I don't think there is a general way: https://mathematica.stackexchange.com/q/31073/5478 – Kuba Feb 26 '18 at 13:16
  • AFAIK, Mathematica does make such events available to the user. – m_goldberg Feb 26 '18 at 17:01
  • You do have ”MouseExited” but nothing to do with focus that I’ve seen. Try selection tracking though. I think that works. – b3m2a1 Feb 26 '18 at 20:30
  • @b3m2a1 and Edmund, I've put there a CW answer to mark is as a duplicate and let future readers know what is the state of art. Feel free to edit it or let me know if you disagree with closing etc. – Kuba Feb 26 '18 at 21:52
  • @Kuba Makes sense. Thanks. – Edmund Feb 27 '18 at 13:39

0 Answers0