Guest User

Untitled

a guest
Oct 18th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Titanium.include('/win1.js');
  2.  
  3. //open a main window in a navGroup and add 1 button
  4.  
  5. var btn1 = Titanium.UI.createButton({
  6. title:'Test', top:100, left:20, width:200, height:30
  7. });
  8.  
  9.  
  10.  
  11. btn1.addEventListener('click', function(e) {
  12. win.navGroup.open(myNewWindow());
  13. });
Add Comment
Please, Sign In to add comment