# Controlling properties of a root container

**URL:** <https://forum.inductiveautomation.com/t/controlling-properties-of-a-root-container/2364>\
**Category:** Archived Topics\
**Created:** [November 23, 2010, 10:15pm UTC](https://forum.inductiveautomation.com/t/controlling-properties-of-a-root-container/2364 "2010-11-23T22:15:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DB2](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@DB2](https://forum.inductiveautomation.com/u/DB2)\
**Post date:** [November 23, 2010, 10:15pm UTC](https://forum.inductiveautomation.com/t/controlling-properties-of-a-root-container/2364/1 "2010-11-23T22:15:27Z")

</div>

What is the syntax to control the ‘visible’ property of a root container from a different root container.

I would like to use a check box in the root container turn a different container inside the root container on and off.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [November 23, 2010, 10:23pm UTC](https://forum.inductiveautomation.com/t/controlling-properties-of-a-root-container/2364/2 "2010-11-23T22:23:41Z")

</div>

Are you talking about controlling the visible property of a root container from another window? If the containers are in the same window you can directly change the visible property in binding or scripting. In binding you can just bind the visible property of the container to the checkbox’s selected property. If you want to use scripting you will have to add a propertyChange script to the checkbox doing the following:`event.source.parent.visible = event.source.selected`Replace the first part of that with the visible property of the container you want to change. Use the link icon to bring in that property.
