How to set interaction mode to PanZoom in scripts?

Hi experts,

When I create a Frame Window and drag a symbol in it ,I can set  the property of interaction mode to PanZoom as below:

But I want to use showgraphic() function to show the symbol dynamically ,I can't find the property of interaction mode to set.

How can I achieve this function is scripts?

Thanks in advanced.

Parents
  • The InteractionMode is set in designtime and is a property hosted by your Frame Window, and i can not see that it is available through scripting.

    Depending on what you are trying to achieve, a option is to have two different Frame Windows with the two options set, and use ShowGraphics to open the symbol in the proper window, depending on your need.

  • Hi Richard,

    Thanks for your reply.

    The example comes from InTouch HMI standard training material.

    There are two frame window, one is Mixer, and another one is Mixer_Brower.

    Mixer Frame window has embedded a industrial graphic named Mixer ,and I can set interaction mode to PanZoom.

    The Mixer_Browser Frame Window is empty ,

    and it can display different Mixer object dynamically in the runtime.

    What I want to is the Mixer_Browser has the function to Panzoom, but I don't know how to achieve it.

Reply
  • Hi Richard,

    Thanks for your reply.

    The example comes from InTouch HMI standard training material.

    There are two frame window, one is Mixer, and another one is Mixer_Brower.

    Mixer Frame window has embedded a industrial graphic named Mixer ,and I can set interaction mode to PanZoom.

    The Mixer_Browser Frame Window is empty ,

    and it can display different Mixer object dynamically in the runtime.

    What I want to is the Mixer_Browser has the function to Panzoom, but I don't know how to achieve it.

Children
No Data