<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Highlighting Visu element when it is clicked on</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d72589326c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d72589326c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/d72589326c/</id><updated>2020-12-10T01:45:12.080000Z</updated><subtitle>Recent posts to Highlighting Visu element when it is clicked on</subtitle><entry><title>Highlighting Visu element when it is clicked on</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d72589326c/?limit=25#b6dd" rel="alternate"/><published>2020-12-10T01:45:12.080000Z</published><updated>2020-12-10T01:45:12.080000Z</updated><author><name>michaelADE</name><uri>https://forge.codesys.com/u/michaelade/</uri></author><id>https://forge.codesys.coma1b4728da4ed4283c04c278e8ade33df122121a8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey all&lt;/p&gt;
&lt;p&gt;I am using Codesys v3.5 Sp15 Patch 1 +. If it is need I am also using an IFM CR1077.&lt;/p&gt;
&lt;p&gt;I have noticed that codesys has a built in element selection tool that allows you to highlight different selectable elements when you use the left/right arrows on a keypad. This is a very powerful feature and I would like to make use of it. &lt;br/&gt;
However I would also like to make it that when an element is touched/clicked on that this element will be highlighted. I know that i can use visuElems.g_SelectionManager.SelectElementAt however this requires me to reference the desired element by ID. Is there some way to return an elements ID without needing to statically enter the elements ID (as i have noticed that if i have the visualisation open on my computer and on the attached screen the selectElementAt will only select the the element on my computer, and not on the controller screen. &lt;br/&gt;
Also is there a way to return the element that is currently highlighted. And does anyone know where i can find more documentation on the VisuElemBase library?&lt;/p&gt;
&lt;p&gt;I have found the selection manager example in the code sys store:&lt;br/&gt;
&lt;a href="https://store.codesys.com/all-products/selection-manager.html" rel="nofollow"&gt;https://store.codesys.com/all-products/selection-manager.html&lt;/a&gt;&lt;br/&gt;
And this post about changing the color of the selection frame:&lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Visualization/thread/b2d22877be/?limit=25#6b49/92d5/4034"&gt;https://forge.codesys.com/forge/talk/Visualization/thread/b2d22877be/?limit=25#6b49/92d5/4034&lt;/a&gt;&lt;br/&gt;
And a handy option on how I can disable the keypad selection:&lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Visualization/thread/aaee0357f5/"&gt;https://forge.codesys.com/forge/talk/Visualization/thread/aaee0357f5/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>