Go Back   Android Forums > Android Development > Application Development > App Inventor

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old October 9th, 2011, 09:05 PM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 159
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 7 Times in 7 Posts
Default App inventor open and close button

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?

Advertisements
paigow is offline  
Reply With Quote
sponsored links
Old October 12th, 2011, 05:32 PM   #2 (permalink)
Junior Member
 
PavementPilot's Avatar
 
Join Date: Aug 2011
Location: Vernon, BC
Gender: Male
Posts: 47
 
Device(s): Note 3 Tab 3 10.1 Gear
Carrier: Bell

Thanks: 4
Thanked 3 Times in 3 Posts
Default

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.
PavementPilot is offline  
Reply With Quote
The Following User Says Thank You to PavementPilot For This Useful Post:
paigow (October 19th, 2011)
Old October 19th, 2011, 03:58 PM   #3 (permalink)
Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 159
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by PavementPilot View Post
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.
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.
paigow is offline  
Reply With Quote
Old October 20th, 2011, 01:48 PM   #4 (permalink)
Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 159
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by PavementPilot View Post
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.
where can i see a list of commands for all this?
paigow is offline  
Reply With Quote
Old October 21st, 2011, 09:41 PM   #5 (permalink)
Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 159
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by PavementPilot View Post
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.
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
paigow is offline  
Reply With Quote
Old November 11th, 2011, 03:31 PM   #6 (permalink)
Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 159
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 7 Times in 7 Posts
Default

anyone have a screen shot of the notify to close buttons?
paigow is offline  
Reply With Quote
Old November 5th, 2012, 02:47 AM   #7 (permalink)
Junior Member
 
PavementPilot's Avatar
 
Join Date: Aug 2011
Location: Vernon, BC
Gender: Male
Posts: 47
 
Device(s): Note 3 Tab 3 10.1 Gear
Carrier: Bell

Thanks: 4
Thanked 3 Times in 3 Posts
Default

Sorry I have been away. The Notifier you are looking for is ShowMessageDialog
PavementPilot is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development > App Inventor
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:09 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.