>Hi all,
>
>I have an editbox with a max length set at 2990. I'm having a problem where if, for example, I type in a word, copy it, hit enter to force to the next line, then paste the word and repeat until the max length is reached. However, by doing this, the length of the value will go beyond 2990 by the time I'm done. I notice at certain point after hitting enter, the cursor will not go to the next line, i.e., a line feed and carriage return is not inserted.
>
>I know this is odd, but has anyone seen this before or does anyone have any ideas for me as to why this would happen (both the maxlength and the line feeds and carriage returns).
>
>Thanks in advance,
>
>Mike
If your MaxLength is set to 2990 you can't go beyond 2990 chars in the editbox so it is natural that CR and LF are not inserted.
Why the length of the value goes above 2990 - don't know. In theory it should not.
All the best.
A moment of silence is our cosmic reset button.