Overriding TRichEdit.Lines.Add method


2003-12-05 07:18:03 PM
delphi144
Hi,
I want to create TRichEdit Component that has MaxLines property in it,
when it reaches MaxLines( number of lines in TRichEdit) , it deletes
first few lines etc..
How can I override RichEdit.Lines.Add method?
Thanks