MACROMEDIA FLEX-GETTING STARTED WITH FLEX Manuale Utente Pagina 75

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 148
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 147 148

Commenti su questo manuale

Nessun commento