Normal Topic msg box and new line (Read 1232 times)
debmckee
Full Member
***
Offline



Posts: 123
Joined: Oct 5th, 2011
msg box and new line
Nov 16th, 2011 at 6:08pm
Print Post Print Post  
What is the proper contex for inserting a newline in a msg box.

This is what I am currently using but I think it would look nicer with four lines instead of having an "or" to separate line 3.


if @isblank(pack) then {

@msgbox("Enter 1 for pails" ,"Enter 2 for drum", "Enter 3 for cases or Enter 4 for totes")

}

  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: msg box and new line
Reply #1 - Nov 16th, 2011 at 6:51pm
Print Post Print Post  
Hello,

Try:

Code
Select All
If @IsBlank(pack) Then
{
	@msgbox("Enter 1 for pails" ,"Enter 2 for drum", "Enter 3 for cases" + @NewLine() + "Enter 4 for totes")
} 



-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
debmckee
Full Member
***
Offline



Posts: 123
Joined: Oct 5th, 2011
Re: msg box and new line
Reply #2 - Nov 16th, 2011 at 6:59pm
Print Post Print Post  
Thanks!  I was playing around with it but just wasn't getting "" or , etc. in the right places!

Just wanted to say this forum is awesome!  Thanks to all who answer our questions.  It is greatly appreciated by me and i am sure everyone else.
  
Back to top
 
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: msg box and new line
Reply #3 - Nov 17th, 2011 at 1:01am
Print Post Print Post  
I have to agree with debmckee, we can all benefit when someone posts a question/answer, regardless of the simplicity/complexity.

A side note, in addition to this awesome form, there is a FANTASTIC monthly publication called Inside Sesame that has great articles on how to get the most out of sesame. It is easily worth much more than the small fee they charge for a subscription. You can check it out here...

www.insidesesame.com

Thanks, again, for your posts.

Steve
  
Back to top
IP Logged