Man, where were you the LAST time I asked this question.  This solution seems to work fine and doesn't require my own classes.  Thanks!

On 11/7/06, Daniel Freiman <[EMAIL PROTECTED]> wrote:
you could also try:

child.includeInLayout = false;
child.visible = false;

this should work with any number of hidden and visible children (if you have 3 children and hide one you will only be able to see divider between the other two).

- Dan


On 11/7/06, KP < [EMAIL PROTECTED]> wrote:

Try using horizontalGap("0")  - style property it should work..   J

 

Thanks

Kumar

 


From: [email protected] [mailto: [email protected]] On Behalf Of Pan Troglodytes
Sent: Tuesday, November 07, 2006 1:13 AM
To: flexcoders
Subject: [flexcoders] any way to make VDividedBox remove splitter on child being hidden?

 

Is there any way to make a VDividedBox hide the splitter control when there is only one child visible?  I have a splitter than splits two sections.  But the second section isn't always visible.  However, the VDividedBox insists on always showing the splitter and letting the user drag it around.

I would rather not have to kludge around it by pulling the second child in and out of the VDB.

--
Jason





--
Jason __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to