MessageBox - How to close it with external event?

Hello,

i have used the Default “MessageBox” Feature from MappView.
The Box is opend via a Button and the System.Action " ShowMessageBox".

I have now implemented the Screensaver via a SessionTimer, like it is Descriped in the AutomationStudio Help. Which basicaly initiates a PageChange to a ScreenSaver Page.

But if a “MessageBox” is still open when the event occurs the Box is still open on the ScreenSaver Page.

For my other coustom Dialogs i can use the Action “CloseDialog” with the ScreenSaver Event.

Does someone know a possibility to trigger the close of the “MessageBox” from an external event?

Greetings
Michael

The MessageBox is designed for user interaction. So you cannot close it using an external event. For this purpose, you should use a Dialog. But maybe someone has already found some smart workaround? :slight_smile: