Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hlelo,
I am calling an OK/Cancel dialog from a Visualization. Is there any way to know on the Visualization that a certain button was pressed on the Dialog?
Something like:
(OnDialogClosed method:)
IF DialogResult = OK THEN
// perform action A
ELSE
// perform action B
END_IF
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I resume this old post to do a question about the dialogs.
Is it possible to understand if a dialog is open or not?
I want to associate a boolean variable TRUE if the dialog is open, FALSE if closed.
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hlelo,
I am calling an OK/Cancel dialog from a Visualization. Is there any way to know on the Visualization that a certain button was pressed on the Dialog?
Something like:
(OnDialogClosed method:)
IF DialogResult = OK THEN
// perform action A
ELSE
// perform action B
END_IF
Does nobody know the answer?
Is it not possible at all?
I thought that was the reason why Dialogs existed: to get a Yes / No (or other) response from a user and make use of the result on a Visualization...
Hello
You can find a free example in the CODESYS Store, called "Visalization Dialog Box"
Originally created by: Massimo.Milluzzo
Hello,
I resume this old post to do a question about the dialogs.
Is it possible to understand if a dialog is open or not?
I want to associate a boolean variable TRUE if the dialog is open, FALSE if closed.
Thank you