yes exactly. In my program, i have several visualizations defined as dialogs to give users the option to make inputs. And i need to detect if one of these dialogs is opened.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
is it possible to detect if a dialog is opened in the webvisu?
Codesys 3.5.16.0
BR
Sebastian
Last edit: sedoerr 2020-06-09
more posts ...
Hello @sedoerr,
what do you mean by DialogBox?
Do you mean a dialog?
Best regards,
Marcel
Hi there,
yes exactly. In my program, i have several visualizations defined as dialogs to give users the option to make inputs. And i need to detect if one of these dialogs is opened.
Hey,
there are a few ways to detect if a dialog was opened.
You can e.g. add an additional input action on the same input type and call some ST Code.
Best regards,
Marcel
Hi Marcel,
yes thats an option. But i have about 50 input actions which are calling a dialog. So it is a lot of work to use this way.
I tried this way, but is am not sure if it is the right way:
I found a solution for my problem: