mIRC Home    About    Download    Register    News    Help

Print Thread
#25119 19/05/03 10:44 PM
Joined: May 2003
Posts: 26
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: May 2003
Posts: 26
hey,

ive got a edit box in a dialog, and trying to get any text thats added to it appear on a new line instead straight after whats already there

thanks for any help

#25120 20/05/03 12:20 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Here's a sample dialog,
Code:
dialog x {
  size -1 -1 100 100
  edit "" 1, 5 5 90 90, [color:blue]multi[/color]
}

The "multi" property allows you to create a new line by a $crlf.
Open the dialog, and type in the command line: //did -a x 1 one $+ $crlf $+ two

#25121 20/05/03 12:30 AM
Joined: May 2003
Posts: 26
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: May 2003
Posts: 26
that didnt work, im using 5.91 if that helps :-/

#25122 20/05/03 12:33 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Add the "return" property, maybe that will help. Anyway, why don't you work with the latest version?

#25123 20/05/03 12:40 AM
Joined: May 2003
Posts: 26
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: May 2003
Posts: 26
still dosnt work :-/

ive just downloaded the latest version of mirc, so ill try that

EDIT;

just tryed it in the latest, still no go :-\

Last edited by tim_shady1; 20/05/03 12:46 AM.
#25124 20/05/03 01:15 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
well, the old versions need an OK button in the dialog
put in that dialog: button "",10, 0 0 0 0,ok

#25125 20/05/03 05:33 AM
Joined: May 2003
Posts: 26
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: May 2003
Posts: 26
yah, of course i added a OK button wink

#25126 20/05/03 07:06 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
u need to add the value of $crlf , do the command that Online gave u with two "/" (//), that should work

#25127 21/05/03 01:00 AM
Joined: May 2003
Posts: 26
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: May 2003
Posts: 26
ah, lovely, got it working, thanks for you help


Link Copied to Clipboard