>Hallo.
>Does anyone knows how to avoid wordwrap in edit and textboxes? In labels there is a wordwrap property, but noting in edit and textboxes.
>
>I want to wrap a textstring in my own way with chr(13), and if the box is too short for the string, the last right part should be unvisible outside the box at the same line, and NOT wraped and visible at the next line.
You could set up a grid without any salad around it (headers, scrollbars, delete and record marks, no grid lines, no highlighting etc) with a textbox of your choice as the current control. Have it sit on a cursor with a single character field, one record per memo line. In the .interactivechange of the textbox you could check for length of textbox.text, and just chop the line the way you want, carrying the extra text into the next line.
This all kicks the bucket if the user starts entering text in the middle of a paragraph. You may add another field to the cursor, which would take the extra characters that won't fit the current line (and not show it in the grid)... which is altogether too much code for what you want.