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

Close dialog from ST

orione1974
2018-03-08
2018-03-12
  • orione1974 - 2018-03-08

    Hlelo,
    I am calling an ST script from a Visualization. Is there any way to close the current Dialog Visualization that a certain condition?
    Something like:

    (OnDialogClosed method:)
    IF DataResult = OK THEN
    // Close Dialog
    ELSE
    // Don't close dialog
    ErrorFlag := TRUE;
    END_IF
    
     
  • e.kislov - 2018-03-12

    Also there should be a simple way to do it with library, but unfortunately there is no example in Store.

     
  • eschwellinger

    eschwellinger - 2018-03-12

    Hi,
    check the third application (Version 1.0.0.3) in the device tree of this example...

    BR
    Edwin

     
  • e.kislov - 2018-03-12

    Thanks, Edwin - i'm not thinking that it will be update this way.

    But I need to say that VisuUtils not only about dialogs (also transfer files, iterate clients) - so I suggest to create individual example.

     

Log in to post a comment.