# Tag binding to a different window

**URL:** <https://forum.inductiveautomation.com/t/tag-binding-to-a-different-window/10205>\
**Category:** Ignition\
**Created:** [July 9, 2015, 12:31pm UTC](https://forum.inductiveautomation.com/t/tag-binding-to-a-different-window/10205 "2015-07-09T12:31:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [July 9, 2015, 12:31pm UTC](https://forum.inductiveautomation.com/t/tag-binding-to-a-different-window/10205/1 "2015-07-09T12:31:19Z")

</div>

Hi, So what I’m doing is I have a popup box(separate window) with some check boxes in it and I like to bind those boxes to the visibility property of some buttons in another window but I can only bind properties to of the same window using property binding. is there a way around that? maybe use scripting? ![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:")

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [July 9, 2015, 1:34pm UTC](https://forum.inductiveautomation.com/t/tag-binding-to-a-different-window/10205/2 "2015-07-09T13:34:08Z")

</div>

You can use scripting. Put the following on the propertyChange event of the checkbox.

`if event.propertyName == "selected":
	win = system.gui.getWindow("ButtonWindow")
	win.getRootContainer().getComponent("Button").visible = event.newValue`

---

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [July 9, 2015, 2:16pm UTC](https://forum.inductiveautomation.com/t/tag-binding-to-a-different-window/10205/3 "2015-07-09T14:16:44Z")

</div>

Thanks! ![:thumb_right:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:") ![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:")
