Toggle includeInLayout : Panel Layout « Container « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Container » Panel LayoutScreenshots 
Toggle includeInLayout
Toggle includeInLayout
           
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:VBox>
        <mx:Panel id="p1" title="Panel 1" backgroundColor="#FF0000" />
        <mx:Panel id="p2" title="Panel 2" backgroundColor="#00FF00" />
        <mx:Panel id="p3" title="Panel 3" backgroundColor="#0000FF" />
    </mx:VBox>
    <mx:HBox>
        <mx:Button label="Toggle Panel 2 in Layout" click="{p2.includeInLayout=!p2.includeInLayout;}" />
    </mx:HBox>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Use VerticalLayout to layout PanelUse VerticalLayout to layout Panel
2.Set Panel layout to horizontalSet Panel layout to horizontal
3.absolute layout with Panelabsolute layout with Panel
4.Panel with statusPanel with status
5.Put control into a PanelPut control into a Panel
6.Change SpanElement color whenever the user clicks on any location within that SpanElement's paragraphChange SpanElement color whenever the user clicks on any location within that SpanElement's paragraph
7.Three Panel GroupsThree Panel Groups
8.horizontalCenter and horizontalAlignhorizontalCenter and horizontalAlign
9.Use percentage to control the width and height of a PanelUse percentage to control the width and height of a Panel
www_._j__a_va___2___s_.___c__o__m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.