MACROMEDIA FLEX-GETTING STARTED WITH FLEX Uživatelský manuál Strana 75

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 148
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 74
Figure 4-16. An example menu
There
is also a handy control called ApplicationControlBar
that gives a nice-looking control set along the top of the win-
dow. Example 4-17 is the code for a sample ApplicationCon
trolBar.
Example 4-17. Appbar.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:ApplicationControlBar dock="true">
<mx:ButtonBar dataProvider="{['People','Places',
'Things']}" />
</mx:ApplicationControlBar>
</mx:Application>
When I launch this example in Flex Builder I see the nice pre-
sentation shown in Figure 4-17.
Menus | 59
Zobrazit stránku 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 147 148

Komentáře k této Příručce

Žádné komentáře