-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have 2 components whose visibility is the inverse of each other...based on a composer variable named controller.zoom. How can I achieve this? Would like something like:
<groupbox id="master" mold="3d" width="100%" visible="@">...</groupbox>
<groupbox id="detail" mold="3d" width="100%" visible="@{controller.zoom}">...</groupbox>
Hi eptx,
I think the easiest way is to call show()/hide()/setVisible() on these components whenever you change the value of controller.zoom.
Or, maybe you can use Tabbox in accordion mold to achieve a similar effect?
Regards,
Simon
Asked: 2010-07-19 09:09:31 +0800
Seen: 110 times
Last updated: Jul 29 '10