1. Check out our companion app, Forums for Android! Download from Google Play

App inventor open and close button

Discussion in 'App Inventor' started by paigow, Oct 9, 2011.

  1. paigow

    paigow Well-Known Member
    Thread Starter
    36

    Sep 13, 2011
    159
    7
    36
    how do i make a button that will display text and then close when im done?
    i might have the text part figured out, but it looks like a wall of text. how can i make paragraphs for easier reading?
     

    Advertisement

  2. PavementPilot

    PavementPilot Well-Known Member
    36

    Aug 1, 2011
    48
    3
    36
    Male
    Professional Driver
    Vernon, BC
    To use line breaks (new line), use the \n command. Your text will look\nlike this but appear like this.
    Your text will look
    like this

    or Your text will look\n\nlike this

    Your text will look

    like this

    As for your other question, use a notifier and use the one that has three sockets in it. Message is where you add the text, title is the title, and button is the word on the button that will make it go away. Sorry I can not think of the proper notifier block name at this time.
     
    paigow likes this.
  3. paigow

    paigow Well-Known Member
    Thread Starter
    36

    Sep 13, 2011
    159
    7
    36
    hey thanks for the \n tip
    ill try to do the close button from what you've wrote and see if i can figure it out thanks.
     
  4. paigow

    paigow Well-Known Member
    Thread Starter
    36

    Sep 13, 2011
    159
    7
    36
    where can i see a list of commands for all this?
     
  5. paigow

    paigow Well-Known Member
    Thread Starter
    36

    Sep 13, 2011
    159
    7
    36
    im still lost as to how to close the button. could you tell me the right name. im very new to app inventor so i don't follow well. maybe pictures for me will help :)
     
  6. paigow

    paigow Well-Known Member
    Thread Starter
    36

    Sep 13, 2011
    159
    7
    36
    anyone have a screen shot of the notify to close buttons?
     
  7. PavementPilot

    PavementPilot Well-Known Member
    36

    Aug 1, 2011
    48
    3
    36
    Male
    Professional Driver
    Vernon, BC
    Sorry I have been away. The Notifier you are looking for is ShowMessageDialog
     

Share This Page

Loading...