>MaxLength is for the entire memo file. What I need is the lenght of any memo line at any given time as set by Memowidth.
There's no way to handle that if you use a proportional font. You can use a fixed font and set the width of your control wide enough to handle the maximum number of characters that you want for a line, but with a proportional font, no way.