Help with list app

Discussion in 'App Inventor' started by DanielSvendsen, May 4, 2012.

  1. DanielSvendsen

    DanielSvendsen New Member
    5

    May 4, 2012
    1
    0
    5
    Hi!
    I
     

    Advertisement

  2. appinventor

    appinventor Active Member
    26

    Mar 25, 2012
    33
    4
    26
    handyman, caregiver, retired computer programmer
    Louisiana, USA
    Yes, Daniel, I think I understand what you are trying to do. But I don't think you need a list to do this. You just need a button component, which you mentioned and a label component. Let's say the label is called total. In the screen designer, give it a value of 0. Then in the blocks editor, drag out the buttonname.click block and put the blocks [set total.text to][ [ total.text] + [1] ] inside the click block. That would take 4 blocks.
    Each time the button is pressed the label's value is increased by 1.
     

Share This Page

Loading...