reset list numbering
Posted: Sun Mar 16, 2014 5:20 pm
Hello!
Sorry for my bad English.
I have a problem with cleaning numbering squeaks in RichView.
RichView insert text in a numbered.
But if run this code a second time, the numbering of the text you want to continue numbering value early insertion. In a method RichViewEdit RemoveLists (False) which resets the numbering, but this method RichView component is missing. Can I reset the numbering of the list is the component RichView?
Sorry for my bad English.
I have a problem with cleaning numbering squeaks in RichView.
RichView insert text in a numbered.
Code: Select all
ms:= TMemoryStream.Create;
s := GetRTF;
ms.Write(s[1], Length(s));
ms.Seek(0, soFromBeginning);
table.Cells[0,0].LoadRTFFromStream(ms);
RichView.AddItem('', table);