New event

Started by velasquez · 2015-06-25 19:31 UTC · 4 replies · SMF topic #2285

Hello Owen
You can include a OnMouseMovedOff type event on a modal form?
Thanks
I'm curious how you would use it, i.e. for what purpose?
author=owenwengerd link=topic=2285.msg11496#msg11496 date=1435280381 wrote:
I'm curious how you would use it, i.e. for what purpose?


I'm working with a Control Bar to navigate between modal forms.
If there was the event OnMouseMovedOff I could close the window by just moving the mouse off of it. No need to press the ESC key or click on any buttons.
It seems to me an auto-closing form should always be modeless. What benefit do you gain by making such a form modal?
author=owenwengerd link=topic=2285.msg11499#msg11499 date=1435340012 wrote:
It seems to me an auto-closing form should always be modeless. What benefit do you gain by making such a form modal?

For me OnMouseMovedOff event on a modal form has the same benefit of Modeless form.