Controlling Visibility within a Scroll Panel

Can you control visibility from within a scroll panel?

I have some buttons that I have tied to some variables. When the variables adjust, they change state. One of these states is the Hidden state. The buttons are within a scroll panel. The code worked previously before I inserted them into a scroll panel but not that they are nested inside the scroll panel, the code doesn't work. I even manually set their initial state to hidden in SL and it still didn't seem to matter because I still see them when publishing. Is it possible to control visibility within a scroll panel?

3 Replies