WebContainer.LostFocus does not work/raise (Web 1.0)

WebContainer and LostFocus …

The event is not raised if the WebContainer (which itself contains controls) loses focus.

I tried to use the MouseExit event (to execute self.close) but it doesn’t always work, that is often not even this is generated so I can’t close the WebContainer because the user clicks on something else.

I saw that a case had also been opened a long time ago, but the problem still seems to exist.
Anyone have any suggestions to close WebContainer when when it loses focus ?

<https://xojo.com/issue/63343>