>Hi there,
>
>ist it possible to use an edit-box-control and limit the number of lines and the number of chars of per line?
>
>Thanks in advance
>
>Thomas
Hi Thomas,
While Editbox just wraps the text automatically according to its width, you could control the lines in it by calculating the number of characters entered and insert carriage return and line feed ( CHR(13)+ CHR910) ) after every NN characters.
To limit te number of lines you can just truncate the text entered after your calculated limit is achieved.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison