OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: velasquez on June 25, 2015, 12:31:08 PM

Title: New event
Post by: velasquez on June 25, 2015, 12:31:08 PM
Hello Owen
You can include a OnMouseMovedOff type event on a modal form?
Thanks
Title: Re: New event
Post by: owenwengerd on June 25, 2015, 05:59:41 PM
I'm curious how you would use it, i.e. for what purpose?
Title: Re: New event
Post by: velasquez on June 26, 2015, 04:35:57 AM
Quote from: owenwengerd on June 25, 2015, 05:59:41 PM
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.
Title: Re: New event
Post by: owenwengerd on June 26, 2015, 10:33:32 AM
It seems to me an auto-closing form should always be modeless. What benefit do you gain by making such a form modal?
Title: Re: New event
Post by: velasquez on June 27, 2015, 04:09:39 AM
Quote from: owenwengerd on June 26, 2015, 10:33:32 AM
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.