<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Find the name of the dialog</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/</id><updated>2021-12-14T14:51:02.109000Z</updated><subtitle>Recent posts to Find the name of the dialog</subtitle><entry><title>Find the name of the dialog</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/?limit=25#c54a" rel="alternate"/><published>2021-12-14T14:51:02.109000Z</published><updated>2021-12-14T14:51:02.109000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com8a1c1d5d59ee679f77e14aa469724f72c97bb297</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Visu Utils (https://help.codesys.com/webapp/idx-Visu%20Utils-lib;product=Visu%20Utils;version=3.5.17.0) is the library to use.&lt;/p&gt;
&lt;p&gt;There you can use the function block FbIterateClients.&lt;br/&gt;
The IVisualizationClient you get in HandleClient has to be casted to IVisualizationClientRaw.&lt;br/&gt;
The ClientDataPointer can then be used to access GlobalData.DialogData&lt;/p&gt;
&lt;p&gt;Keep in mind these are internal structures which may change in the future.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Find the name of the dialog</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/?limit=25#0945" rel="alternate"/><published>2021-12-14T12:16:49.274000Z</published><updated>2021-12-14T12:16:49.274000Z</updated><author><name>spiritcore</name><uri>https://forge.codesys.com/u/spiritcore/</uri></author><id>https://forge.codesys.com9c655cc6f55c3c5779cbcb53a567c8e231b07d20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks!&lt;br/&gt;
Do you have any idea what library do I nee to use for iterating over all the clients?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Find the name of the dialog</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/?limit=25#ab2b" rel="alternate"/><published>2021-12-14T11:42:39.115000Z</published><updated>2021-12-14T11:42:39.115000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.combabe17a01151edbd6014c8663f6b2ffb0079d77e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There are a few ways you can do this.&lt;br/&gt;
You can listen to every dialog which is opened/closed via the IDialogManagerListener.&lt;br/&gt;
Or you can iterate over all clients and determine each active dialog.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Find the name of the dialog</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/?limit=25#04ef" rel="alternate"/><published>2021-12-14T09:42:14.007000Z</published><updated>2021-12-14T09:42:14.007000Z</updated><author><name>spiritcore</name><uri>https://forge.codesys.com/u/spiritcore/</uri></author><id>https://forge.codesys.com5dc6c5ed54af78d7d89aeb33e08bbb25428a023e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Check if any dialog is opened and which one.&lt;br/&gt;
So I can run certain processes in my program when a dialog is still open.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Find the name of the dialog</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/?limit=25#18be" rel="alternate"/><published>2021-12-14T09:38:55.213000Z</published><updated>2021-12-14T09:38:55.213000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.coma85471865e0b04d616368c406bcaf5c785d19ed2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;br/&gt;
what are you trying to do?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Find the name of the dialog</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/334b26f9be/?limit=25#44a6" rel="alternate"/><published>2021-12-14T09:37:43.847000Z</published><updated>2021-12-14T09:37:43.847000Z</updated><author><name>spiritcore</name><uri>https://forge.codesys.com/u/spiritcore/</uri></author><id>https://forge.codesys.com52cb91f8738080500924ab3413f35f4e059a1d50</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Is there any way to find which dialog is opened in the moment?&lt;br/&gt;
I tried looking in the VisuDialogs lib but couldn't find anything like the VisuElems.CurrentVisu&lt;br/&gt;
Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>