How to: |
The Flex Builder TabNavigator allows you to organize content logically into separate pages so that the user can navigate an application simply by clicking the applicable tab. This topic uses the TabNavigator to organize the examples in this manual.
Drop shadow makes the TabNavigator more visually appealing. Flex Builder components have many properties but not all of them are exposed on the Properties pane. However, all of them are accessible in the MXML code.
Many free style explorers can help you find the exact Cascading Style Sheet (CSS) property. For example:
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html
Grids, Filters, Charts
Tree Control, Drop Down Boxes
Later, if you would like, you can change the title in the label property field or in the MXML code.
Note: You can also use the dropShadowVisible property.
Note: TabNavigator in a Spark theme does not have the ShadowDistance property. You can use a DropShadowFilter instead.
For SDK 3.x:
<mx:TabNavigator top="72" left="10" bottom="10" right="10" backgroundColor="#808080" dropShadowEnabled="true" shadowDistance="4"> <mx:Canvas label="Grids, Filters, Charts" width="100%" height="602%"> </mx:Canvas> <mx:Canvas label="Tree Control, Drop Down Boxes" width="100%" height="100%"> </mx:Canvas> </mx:TabNavigator>
For SDK 4.x:
WebFOCUS |