mIRC Homepage
Posted By: jeppelykke Dialog "edit" box problem - 27/09/04 04:14 PM
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
Posted By: Collective Re: Dialog "edit" box problem - 27/09/04 04:33 PM
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.
Posted By: clutz1572 Re: Dialog "edit" box problem - 27/09/04 04:35 PM
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
Posted By: jeppelykke Re: Dialog "edit" box problem - 27/09/04 04:39 PM
Thank you so much both of you! wink

You just saved my entire day wink

Keep up the good work
© mIRC Discussion Forums