App inventor open and close button


Last Updated:

  1. paigow

    paigow Well-Known Member This Topic's Starter

    Joined:
    Sep 13, 2011
    Messages:
    159
    Likes Received:
    7
    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

    Joined:
    Aug 1, 2011
    Messages:
    47
    Likes Received:
    3
    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 This Topic's Starter

    Joined:
    Sep 13, 2011
    Messages:
    159
    Likes Received:
    7
    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 This Topic's Starter

    Joined:
    Sep 13, 2011
    Messages:
    159
    Likes Received:
    7
    where can i see a list of commands for all this?
     
  5. paigow

    paigow Well-Known Member This Topic's Starter

    Joined:
    Sep 13, 2011
    Messages:
    159
    Likes Received:
    7
    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 This Topic's Starter

    Joined:
    Sep 13, 2011
    Messages:
    159
    Likes Received:
    7
    anyone have a screen shot of the notify to close buttons?
     
  7. PavementPilot

    PavementPilot Well-Known Member

    Joined:
    Aug 1, 2011
    Messages:
    47
    Likes Received:
    3
    Sorry I have been away. The Notifier you are looking for is ShowMessageDialog
     

Share This Page

Loading...