mIRC Home    About    Download    Register    News    Help

Print Thread
#98876 27/09/04 04:14 PM
Joined: Apr 2003
Posts: 14
J
Pikka bird
OP Offline
Pikka bird
J
Joined: Apr 2003
Posts: 14
Hey Hey wink

I would like to make a editbox be full editble, what i mean is have a big Text area, and when i hit ENTER it goes to the next line, and writes there from.

Just like a box like this one where i'm asking this question but with the options to hit enter and goto next line.

Hope this is something you can help with.

Best Regards
Jeppe Lykke, Denmark




Best Regards
Jeppe Lykke, Denmark
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Use the multi and return styles, e.g:
Code:
dialog example {
  title "Editbox example"
  size -1 -1 100 75
  option dbu
  edit , 1, 2 2 96 71, multi return
}

You can also add a vertical scrollbar with the vsbar style. See /help Dialogs for more.

Joined: Aug 2004
Posts: 423
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
hi,

i'm not exactly sure what you mean but you can try something like this:

edit "", 1 , 15 23 261 131 , multi return

where blue and green are concerned, blue is the id of the edit box and green is the size of the box. thats up to you on how you want to disign them, but the options in red is what i believe you are looking for. MULTI allows you ad serveral lines and RETURN allows you to goto the next line if i'm not mistaken.

hope this helps ya out some. smile

Joined: Apr 2003
Posts: 14
J
Pikka bird
OP Offline
Pikka bird
J
Joined: Apr 2003
Posts: 14
Thank you so much both of you! wink

You just saved my entire day wink

Keep up the good work




Best Regards
Jeppe Lykke, Denmark

Link Copied to Clipboard