Search found 9727 matches

by Sergey Tkachenko
Sun Nov 12, 2006 9:34 am
Forum: Support
Topic: How do I place the cursor on a defined position?
Replies: 4
Views: 17613

Format does not store the caret position, because Format is usually called when document is not formatted, so the caret position is undefined before its call.
If document is already formatted, why do you can Format? :)
by Sergey Tkachenko
Fri Nov 10, 2006 10:43 pm
Forum: Support
Topic: Printing isn't correct on every printers
Replies: 61
Views: 266104

please send me a screenshot and the stored report file
by Sergey Tkachenko
Fri Nov 10, 2006 10:41 pm
Forum: Support
Topic: selecting text in document by text offsets
Replies: 2
Views: 15456

Use RVGetTextRange(rv, 0, RVGetTextLength(rv)) from RVLinear.pas
by Sergey Tkachenko
Fri Nov 10, 2006 10:37 pm
Forum: Support
Topic: RTF Code Optimization
Replies: 15
Views: 43364

Did you mention other problems, except for the ending \par?
by Sergey Tkachenko
Fri Nov 10, 2006 10:35 pm
Forum: Examples, Demos
Topic: [Demo] Sending HTML email. Saving MIME-encoded files.
Replies: 40
Views: 3397153

What version of TRichView and Delphi?

Please compile the demo with stack frames and without optimization (Compiler tab in the project options).
Run the demo. Which line of TRichView (or the demo (probably the problem is in event)) code generates the error?
by Sergey Tkachenko
Fri Nov 10, 2006 10:29 pm
Forum: Support
Topic: TRVAnimation
Replies: 1
Views: 9040

Increase RVMaxAnimations variable from RVAnimate unit.

Notes:
1) Number of animated images were limited to save system resources.
2) In the latest version (available for registered users), resource and memory usage for animations (using TGifImage) was reduced dramatically. Now animated TGifImage ...
by Sergey Tkachenko
Thu Nov 09, 2006 12:48 pm
Forum: Support
Topic: RTF Code Optimization
Replies: 15
Views: 43364

No, '\par' is fixed only in v1.9.27.2 (this is alpha version available for registered users).
By the way, why this ending \par is so important? The most if RTF readers do not require it.
by Sergey Tkachenko
Thu Nov 09, 2006 12:45 pm
Forum: Support
Topic: HELP margin and image insertion
Replies: 3
Views: 14003

First, why controls are not ok?
Instead of controls, you can use images. For example, hypertext images ("hot-picture" or "hotspot")

InsertControl inserts control in the position of caret. For hypertext pictures, use InsertHotPicture or InsertHotspot.
TRichView does not have caret, so (of course) it ...
by Sergey Tkachenko
Wed Nov 08, 2006 11:38 am
Forum: Support
Topic: HELP margin and image insertion
Replies: 3
Views: 14003

Sorry, I am not sure that I understand your questions.
First, what do you mean by " the text is drawn as a graphics rather than a pure text"?
by Sergey Tkachenko
Tue Nov 07, 2006 9:16 pm
Forum: Support
Topic: RTF Question
Replies: 4
Views: 16970

I do not understand why the results are different in TFileStream and TMemoryStream. It should not happen.
by Sergey Tkachenko
Tue Nov 07, 2006 9:14 pm
Forum: Examples, Demos
Topic: [Demo] Sending HTML email. Saving MIME-encoded files.
Replies: 40
Views: 3397153

Answering questions here is a part of my work. Others may do it as a hobby :)
In this forum ("Examples, Demos") only I can create a new topic.
Other users can post their examples, demos, help and tips in "Support" forum. If they are interesting for other users, I'll repost them here.
by Sergey Tkachenko
Tue Nov 07, 2006 3:17 pm
Forum: Support
Topic: Multilevel numbering
Replies: 5
Views: 17433

const Indent = 24;
begin
RVStyle1.ListStyles.Clear;
// adding ListStyle[0] with 4 levels
with RVStyle1.ListStyles.Add do begin
with Levels.Add do begin
ListType := rvlstUpperAlpha;
FormatString := '%0:s.';
LeftIndent := Indent*1;
MarkerIndent := Indent*0;
FirstIndent := 0;
Font.Assign ...
by Sergey Tkachenko
Mon Nov 06, 2006 9:48 pm
Forum: Support
Topic: Removing Hyperlinks
Replies: 4
Views: 16626

If you use RichViewActions, the insert hyperlink action can do it. Just clear link target in the dialog.
by Sergey Tkachenko
Mon Nov 06, 2006 9:46 pm
Forum: Support
Topic: Default for Table CELL spacing
Replies: 1
Views: 10012

Do you use RichViewActions? TrvActionInsertTable has many properies of TRVTableItemInfo, and they are assigned to the inserted table.

PS: for RTF-like tables, set:
CellHSpacing=CellVSpacing=-1
BorderHSpacing=BorderVSpacing=0
BorderWidth=0
CellBorderWidth=1
by Sergey Tkachenko
Mon Nov 06, 2006 9:43 pm
Forum: Support
Topic: Removing Hyperlinks
Replies: 4
Views: 16626

Do you mean converting them to plain text?
How did you add them?