<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How can you get the active frame index from a frame</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/2d7c2a2c87/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/2d7c2a2c87/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/2d7c2a2c87/</id><updated>2025-10-14T07:39:49.709000Z</updated><subtitle>Recent posts to How can you get the active frame index from a frame</subtitle><entry><title>How can you get the active frame index from a frame</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/2d7c2a2c87/?limit=25#1897" rel="alternate"/><published>2025-10-14T07:39:49.709000Z</published><updated>2025-10-14T07:39:49.709000Z</updated><author><name>rene2</name><uri>https://forge.codesys.com/u/rene2/</uri></author><id>https://forge.codesys.com9e9555b743d9ee468f926a4a2ddb54c342a5b687</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I think I struggle with the same issue. I tried the currentVisu variable but this is the active Visualisation. I have a dialog with a frame with frame configuration like in the picture. I would like to use the index te be used to make a button look like it's pressed/selected.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can you get the active frame index from a frame</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/2d7c2a2c87/?limit=25#3b12" rel="alternate"/><published>2025-03-11T21:18:37.346000Z</published><updated>2025-03-11T21:18:37.346000Z</updated><author><name>trusty-squire</name><uri>https://forge.codesys.com/u/trusty-squire/</uri></author><id>https://forge.codesys.com83856c54dfd78288492cca6261eaaf1eadb75c73</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you are switching a frame based on the "Switch Frame Variable", then just use a variable that is accessible to your program to set your active frame.&lt;/p&gt;
&lt;p&gt;If you're trying to see which is the active visualization, then use the "CurrentVisu" variable. Note you'll need to enable this by checking it on in the Visualization Manager settings.&lt;/p&gt;
&lt;p&gt;If it's neither of those, you'll need to be more clear on how you're project is set up.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can you get the active frame index from a frame</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/2d7c2a2c87/?limit=25#b665" rel="alternate"/><published>2025-03-11T14:46:31.669000Z</published><updated>2025-03-11T14:46:31.669000Z</updated><author><name>jkopicz</name><uri>https://forge.codesys.com/u/jkopicz/</uri></author><id>https://forge.codesys.com133e0c41e0a050ad97a6ae0c261887465de312a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In my project, I have frames that I would like to read the current active index.  I change the frame index using the onclick properties of a button, then change frame index.  I need to do some logic based on which frame index is selected.  Is there a way to read the current active index of a frame?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>