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.
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.
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.