MACROMEDIA FLEX-GETTING STARTED WITH FLEX Bedienungsanleitung Seite 71

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 148
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 70
Tabs and Accordions
Sometimes you
have more content than you can reasonably fit
on the screen, so you need some way to let the user navigate
around groupings of content. Flex provides several solutions,
two of which, tabs and accordions, I’ll demonstrate here.
Tabs are very easy to create, as you can see in Example 4-14.
Example 4-14. Tabs.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:TabNavigator borderStyle="solid" width="100%"
height="100%">
<mx:VBox label="Tab One">
<mx:Label text="Tab one's content" />
</mx:VBox>
<mx:VBox label="Tab Two">
<mx:Label text="Tab two's content" />
</mx:VBox>
Figure 4-13. The editable grid
Tabs and Accordions | 55
Seitenansicht 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 147 148

Kommentare zu diesen Handbüchern

Keine Kommentare