Re: excluding item in layout

2017-08-10 Thread Philip Keiter
Also, have you considered grouped states yet? Or was that the complexity you wanted to avoid? On Wed, Aug 9, 2017 at 3:33 PM, Philip Keiter wrote: > Hi Scott, have you tried controlling them this way? > b1.visible = b1.includeInLayout = false; > > That is the standard way to do it when states ar

Re: excluding item in layout

2017-08-09 Thread Philip Keiter
Hi Scott, have you tried controlling them this way? b1.visible = b1.includeInLayout = false; That is the standard way to do it when states are not a good fit. Is there more complexity to it than your example demonstrates? -Philip On Wed, Aug 9, 2017 at 3:07 PM, Harbs wrote: > I usually just a

Re: excluding item in layout

2017-08-09 Thread Harbs
I usually just add them using code in this kind of case. Loop through your items and addElement() for each one. I find the declarative approach doesn’t work as well for this kind of thing... You can also use code to removeElement() for the ones you need to get rid of. I’ve used both approaches.