OK. I got it. In the menubar.bxml, the code must be something like this

<MenuBar xmlns:bxml="http://pivot.apache.org/bxml"; 
        xmlns:content="org.apache.pivot.wtk.content" 
        xmlns:collections="org.apache.pivot.collections" 
        xmlns="org.apache.pivot.wtk"
        bxml:id="menubar" styles="{backgroundColor:'#99ffff'}">         
                <MenuBar.Item buttonData="File"/>
</MenuBar>

--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/how-to-put-some-bxml-code-into-another-bxml-file-tp3493447p3493490.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to