Show non visible components in Design mode

Is there a method I can use for a window to see if it’s in design mode? I have a show/hide tags button so the operators can see tags in runtime if they want. I’d like to, if I’m in design mode, always have them show. I can do it by making the default tag value to 0 and show on 0, but I’d instead like to see the tags anytime I’m in design mode.

Thanks in advance.

Hello,

Put a Timer component in your window and have it run once a second. In your Timer component event script run this function to find out if the window is open in the designer: system.util.getSystemFlags docs.inductiveautomation.com/di … ystemFlags

If the window is in the designer then have your Timeout component event script get whatever components and set the visible property to True.

Best,

Thank you I will try that.