mIRC Home    About    Download    Register    News    Help

Print Thread
Dialog "edit" box problem #98876 27/09/04 04:14 PM
Joined: Apr 2003
Posts: 14
J
jeppelykke Offline OP
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
Re: Dialog "edit" box problem #98877 27/09/04 04:33 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
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.

Re: Dialog "edit" box problem #98878 27/09/04 04:35 PM
Joined: Aug 2004
Posts: 423
C
clutz1572 Offline
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

Re: Dialog "edit" box problem #98879 27/09/04 04:39 PM
Joined: Apr 2003
Posts: 14
J
jeppelykke Offline OP
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