Search found 2 matches

by AlexKraft
Thu Mar 20, 2014 3:37 am
Forum: Support
Topic: reset list numbering
Replies: 2
Views: 9882

On the form, there are two components and TRichView TRichViewEdit.
In Trichvieschedit entering text using the numbered squeak, for example:

1. words ...
2. words ...
3. words ...
...
n. words ...

This text is sent to TRichView, here's the code:

ms: = TMemoryStream.Create;
try ...
by AlexKraft
Sun Mar 16, 2014 5:20 pm
Forum: Support
Topic: reset list numbering
Replies: 2
Views: 9882

reset list numbering

Hello!
Sorry for my bad English.
I have a problem with cleaning numbering squeaks in RichView.
RichView insert text in a numbered.

ms:= TMemoryStream.Create;
s := GetRTF;
ms.Write(s[1], Length(s));
ms.Seek(0, soFromBeginning);
table.Cells[0,0].LoadRTFFromStream(ms);
RichView.AddItem('', table ...