I need a 'nice', 'elegant' way to limit text entry in a Richedit (all TCustomMemo descendants if possible)... The problem is it is not the MaxLength in characters I need to limit but rather the number of lines. I thought maybe onchange with a call to undo on limit overflow, but that undoes more than the last keypress. Ideas -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz