forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Creating a line break in a multiline edit box...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 17, 2002 5:04 pm    Post subject: Creating a line break in a multiline edit box... Reply with quote

I cannot find this even though I searched for it...but I know I have seen it before on this forum...How can I make a line break with a multiline edit box? If I use @cr() it just shows up as a black rectangle like this: |

I recall that you needed to use like a combination of @cr() and and @asc() code or something...
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Jul 17, 2002 5:41 pm    Post subject: Reply with quote

Use this if you are adding a extra line with dialog set:

@cr()@chr(10)

Or this, if you have a real long file that needs to be convented:
Code:

  list create,1
  list loadfile,1,%%filename
  %%text = @text(1)
  dialog set,input,%%text
  list close,1


Last edited by Skit3000 on Wed Jul 17, 2002 5:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Wed Jul 17, 2002 5:46 pm    Post subject: Reply with quote

Try this:
Code:

  DIALOG SET,EDIT1,Line Number1@CHR(13)@CHR(10)Line Number2

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 17, 2002 6:13 pm    Post subject: Reply with quote

Thanks...

I just couldn't remember how to do it for the multi-line edit part of my program I am working on and it drove me crazy. Mad

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group