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

Web Browser Element "Show" Rising Edge

rckalex
2022-01-03
2022-01-10
  • rckalex - 2022-01-03

    Currently, I am using a web browser element in a "pop-up" visualization that is called via an OnMouseUp Open Dialog command. The open dialog command passes an object to the Dialog which contains the URL string and the Show bool for the browser element. As part of the OnMouseUp event I am setting using an Execute ST call to set the Show bool to true. This seems to load the URL from the last object that was passed into the Dialog.

    It it possible to have a visualization execute some code once it loads so that the Show rising edge is only detected once the new URL has been passed in? Is there a better way to use the Web Browser "show" element to ensure the correct URL is loaded?

     
  • m.prestel - 2022-01-04

    Hey,
    do you have a small example project for us?

    Best regards,
    Marcel

     
    • rckalex - 2022-01-05

      Hi Marcel,

      Sample project archive attached.

       
      • m.prestel - 2022-01-10

        Attached a project which should help you.

         
        • rckalex - 2022-01-10

          Marcel,

          Its a novel solution but it seems break if I load page 3 and then try to load any of the other pages. However, it appears to abstract for multiple clients without issue.

           

Log in to post a comment.