TCustomRichView.DeleteItems
Removes the specified number of items (Count) from the document, starting from the FirstItemNo-th item.
procedure DeleteItems(FirstItemNo, Count: Integer);
ну и как уже написали:
Цитата:
TCustomRichView.ItemCount (read only)
Number of items in RichView
property ItemCount: Integer;