Login
Products
Sales
Support
Downloads
About
Home
»
Technical Support
»
Elevate Web Builder Technical Support
»
Support Forums
»
Elevate Web Builder General
»
View Thread
View Thread
The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
"Close all modal windows"
Fri, Sep 18 2015 10:54 AM
Permanent Link
Matthew Jones
Is there a way to have a timer call something to close all modal
windows, regardless of how or where it came from etc?
I'd like to close windows if the connection to the server is lost.
--
Matthew Jones
Fri, Sep 18 2015 11:11 AM
Permanent Link
Tim Young [Elevate Software]
Elevate Software, Inc.
timyoung@elevatesoft.com
Matthew,
<< Is there a way to have a timer call something to close all modal windows, regardless of how or where it came from etc? >>
Sure, just use this property:
http://www.elevatesoft.com/manual?action=viewprop&id=ewb2&comp=TSurface&prop=ActiveForm
If the active form is a TDialogControl (use "is" operator) and isn't one of yours (Name=''), then it's a modal form that you can close.
Tim Young
Elevate Software
www.elevatesoft.com