<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/</id><updated>2024-02-07T09:25:37.457000Z</updated><subtitle>Recent posts to How do you get the CURRENT ClientData?</subtitle><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#8aa4/03a4/0bfb/7dd0/49b2" rel="alternate"/><published>2024-02-07T09:25:37.457000Z</published><updated>2024-02-07T09:25:37.457000Z</updated><author><name>jinlee</name><uri>https://forge.codesys.com/u/jinlee/</uri></author><id>https://forge.codesys.coma5a582b05d88ff6a5b1f159436b0c0184f6ac622</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi there, I wonder how to use this CURRENTCLIENTID because I followed what you said and the library didnt come up. &lt;/p&gt;
&lt;p&gt;However, what I am trying to do is to use PLC_PRG.aIndexVisu&lt;span&gt;[CURRENTCLIENTID]&lt;/span&gt;. to switch the frame within the mainpage without affecting the other screen same as the first question of this post. However, I failed to do it. &lt;/p&gt;
&lt;p&gt;Can you tell me how to do it ? Or can you advise me on this issue&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#2278" rel="alternate"/><published>2020-10-30T14:41:22.567000Z</published><updated>2020-10-30T14:41:22.567000Z</updated><author><name>paulolouro</name><uri>https://forge.codesys.com/u/paulolouro/</uri></author><id>https://forge.codesys.com547c1c3206244a14c54582acff494c1a87b7ab69</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey @m.prestel, any documentation on those global variables like ptMouse?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#59af/a7f0/b8d4/710e" rel="alternate"/><published>2020-10-27T10:39:30.929000Z</published><updated>2020-10-27T10:39:30.929000Z</updated><author><name>kislov</name><uri>https://forge.codesys.com/u/kislov/</uri></author><id>https://forge.codesys.com2a12baafd8c592f90523943c0865a36d3c49c97d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you. I agree with Paul - I think there's will be nice to see this info in online help.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#59af/a7f0/b8d4" rel="alternate"/><published>2020-10-27T06:37:12.870000Z</published><updated>2020-10-27T06:37:12.870000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comd7f817027c4f78ef93be3f3bf5b9ca0b8f1d0cb9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ptMouse is an input variable used in the generated code which handles the input events&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#59af/87c4/e678/8306/34a4" rel="alternate"/><published>2020-10-27T06:36:32.862000Z</published><updated>2020-10-27T06:36:32.862000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comd6daf08bbfe6bb7e10a3cc62c041d687522060d0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Most of those variables are internal.&lt;/p&gt;
&lt;p&gt;No, ptMouse is the event position triggered on the specific element, not a global event triggered by all events and elements.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#59af/a7f0" rel="alternate"/><published>2020-10-26T16:27:11.097000Z</published><updated>2020-10-26T16:27:11.097000Z</updated><author><name>kislov</name><uri>https://forge.codesys.com/u/kislov/</uri></author><id>https://forge.codesys.com76ec8ddfee4cfa23a9563e345cc52fa6d4ad6389</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sir Marcel, ptMouse is some system variable?&lt;br/&gt;
I can't see where she's declared in this example.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#59af/87c4/e678/8306" rel="alternate"/><published>2020-10-26T10:22:33.683000Z</published><updated>2020-10-26T10:22:33.683000Z</updated><author><name>paulolouro</name><uri>https://forge.codesys.com/u/paulolouro/</uri></author><id>https://forge.codesys.comca7185d782e5edfd0cf908e14551e95270d1e292</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;But then for each visualization and instance/client, some objects and variables are available. There is no auto complete for those variables, how shall we know they exits? &lt;/p&gt;
&lt;p&gt;Before i was trying to access the mouse position via the interface for mouse event and then create a global variable array with a index for each client id. But if we have the ptMouse directly on the visu, then we dont event need that extra mouse event handling.&lt;/p&gt;
&lt;p&gt;Where is the documentation for those variables/pointers?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#59af/87c4/e678" rel="alternate"/><published>2020-10-26T08:46:11.313000Z</published><updated>2020-10-26T08:46:11.313000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comfa01f9782fdca170bf4c73a8ebb1747abbc102e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;No, the position provided with ptMouse is not the global position for the visu, but for the actual event.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#59af/87c4" rel="alternate"/><published>2020-10-26T08:41:37.290000Z</published><updated>2020-10-26T08:41:37.290000Z</updated><author><name>paulolouro</name><uri>https://forge.codesys.com/u/paulolouro/</uri></author><id>https://forge.codesys.comf6dd849053524e43f8202e20eec108bed0a5805f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey&lt;/p&gt;
&lt;p&gt;Thanks Prestel.&lt;/p&gt;
&lt;p&gt;Knowing the mouse position relative to the screen already helps and allows me to program a function to be called before opening the dialog.&lt;/p&gt;
&lt;p&gt;So there is a reference pointer for the mouse position for each visualization, like there is the pClientData pointer. What other pointers exist? Where is this documentation?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How do you get the CURRENT ClientData?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/?limit=25#59af" rel="alternate"/><published>2020-10-26T06:31:06.135000Z</published><updated>2020-10-26T06:31:06.135000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comf755e8d1706def4869722b3e22830e2d885cd2b2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can open the dialog relative to the element see attached project.&lt;/p&gt;
&lt;p&gt;There is no real API to access the element position. But you can achieve this with the example attached.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>