| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Jul 17, 2002 5:04 pm Post subject: Creating a line break in a multiline edit box... |
|
|
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 |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Jul 17, 2002 5:41 pm Post subject: |
|
|
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 |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Wed Jul 17, 2002 5:46 pm Post subject: |
|
|
Try this:
| Code: |
DIALOG SET,EDIT1,Line Number1@CHR(13)@CHR(10)Line Number2
|
_________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Jul 17, 2002 6:13 pm Post subject: |
|
|
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.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|