CloseDialog command - Forum

Forum Navigation
You need to log in to create posts and topics.

CloseDialog command

Hi,

is it possible to close a dialog in a subroutine or code that is outside the dialog itself? The CloseDialog command does not accept the parameter to decide which dialog to close.

is it possible to close a dialog in a subroutine or code that is outside the dialog itself? The CloseDialog command does not accept the parameter to decide which dialog to close.

At a given moment only one dialog can be open, so you can not select wich one to close. Additionally dialogs are modal windows, so you can not click outside the dialog until you close it. Please take a look at this thread for alternatives:
https://visualneo.com/forum/topic/alertbox-messagebox-and-custom-dialog-position

Regards.

is it possible to close a dialog in a subroutine or code that is outside the dialog itself? The CloseDialog command does not accept the parameter to decide which dialog to close.

At a given moment only one dialog can be open, so you can not select wich one to close. Additionally dialogs are modal windows, so you can not click outside the dialog until you close it. Please take a look at this thread for alternatives:
https://visualneo.com/forum/topic/alertbox-messagebox-and-custom-dialog-position

Regards.

Punglisin has reacted to this post.
Punglisin

@luishp, I read the thread (of which I am the author ahaha ) and I will opt to use the slOpenModal and slCloseModal commands from the PowerApp plugin.

Thank you!