<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Call script "OnOpen/WhileOpen/OnClose" event related to Visualisations/Frame </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/54d73e5664/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/54d73e5664/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/54d73e5664/</id><updated>2023-06-21T10:18:44.903000Z</updated><subtitle>Recent posts to Call script "OnOpen/WhileOpen/OnClose" event related to Visualisations/Frame </subtitle><entry><title>Call script "OnOpen/WhileOpen/OnClose" event related to Visualisations/Frame </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/54d73e5664/?limit=25#30cd" rel="alternate"/><published>2023-06-21T10:18:44.903000Z</published><updated>2023-06-21T10:18:44.903000Z</updated><author><name>macros8</name><uri>https://forge.codesys.com/u/macros8/</uri></author><id>https://forge.codesys.comea7ba567ea00304f00f1e815dcc6d2954a6575c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;just would like to ask you about best practice of calling specific script (function) triggered by events related to opening/closing visualisation/frames.&lt;/p&gt;
&lt;p&gt;Usually in HMI sw we could use those events (OnOpen/WhileOpen/OnClose) to initiate some variables or do call some function.&lt;/p&gt;
&lt;p&gt;I´ve already seen one topic here where somebody recommend to call function returning e.g. bool variable and place it to property etc. visibility. But this is not very general solution, I assume, therefore I´d like to ask you to get some tips/hints.&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;br/&gt;
Regards.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>