Skip to first unread message

Bo Kalvslund

unread,
Jul 7, 2015, 9:00:44 AM7/7/15
to mitappinv...@googlegroups.com
I've made a small tutorial on how to make a tab-menu in App Inventor.

I've uploaded it to Youtube and you can find it here:



/Bo

Greg Jensen

unread,
Jul 7, 2015, 11:48:19 AM7/7/15
to mitappinv...@googlegroups.com
You got a really nice look and function in a very simple way.  

You can save a bit of repetitive block code by making a procedure that does all the work to hide all three content canvases (or arrangements or w.h.y.) and grey out all three tabs. The Button.Click block for each button then just contains a call to the procedure and the blocks to show what it needs too.  
  • easier to add or remove tabs as your app is developed. 
  • easier to change the color or functioning of all the tabs at once
  • enables a tab selection to be made from other code areas without further duplication - e.g. saved in a tinyDB and selected on screen.initialize 
  • fewer blocks makes your app block screen easier to view/read/manage 
Reply all
Reply to author
Forward
0 new messages