Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Wed Nov 22, 2017 5:54 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Multi Line display
PostPosted: Mon Aug 10, 2009 8:27 am 
Offline

Joined: Wed Apr 11, 2007 4:47 pm
Posts: 32
I would like to display some message through a Lable object, but it should be display in multi-line, i use some code like

dim msg$ as string

msg$:="message1"
msg$:=msg$+"\x0d" +"message2"

labelobg.value=msg$

but the "\x0D" does not be treat as a "return" command.

what i am did wrong?


Top
 Profile  
 
 Post subject: Re: Multi Line display
PostPosted: Mon Aug 10, 2009 8:33 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
I'm guessing your using a LabelV2. Try \n for the next-line character instead of \x0d (carriage return).
msg$:=msg$+"\n" +"message2"

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group