Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Line feeds and carriage returns in editbox
Message
From
18/11/2004 01:28:55
 
 
To
17/11/2004 15:48:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00962377
Message ID:
00962494
Views:
9
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform