Search found 9731 matches

by Sergey Tkachenko
Mon Oct 31, 2005 4:24 pm
Forum: Support
Topic: Saving BackgroundStyle
Replies: 10
Views: 41410

CanChange + Change must do the same work as inserting&deleting the character. And I do not understand how SetFocus affects to this problem.
by Sergey Tkachenko
Mon Oct 31, 2005 8:57 am
Forum: Support
Topic: Large Docs with Many Pictures
Replies: 6
Views: 32982

You cannot call Screen.Free, because this method destroys the bitmap, but it still used by rvReport.
But I think you can call Dormant or FreeImage (as far as I understand how TBitmap works, only FreeImage makes sense here)
by Sergey Tkachenko
Sun Oct 30, 2005 10:24 pm
Forum: Support
Topic: Scale RTF to fit to one page
Replies: 8
Views: 38963

You cannot print a scaled document using TRVPrint. Use TRVReportHelper instead.

First, format RVReportHelper (Init + FormatNextPage).
Let PageWidth is a width specified in Init, PageHeight := RVReportHelper.GetLastPageHeight (I assume that the document has only one page).
Let DestRect is a ...
by Sergey Tkachenko
Sun Oct 30, 2005 10:07 pm
Forum: Support
Topic: Is it possible to make a richview's background transparent?
Replies: 2
Views: 19013

Yes, transparency is not supported directly. One of possible solutions is suggested by Michel.

Another solution.
It may be useful if you create a kind of report including TRichView objects. Draw the document into a metafile and display this metafile instead of TRichViewEdit. If you need an inplace ...
by Sergey Tkachenko
Sun Oct 30, 2005 9:59 pm
Forum: Support
Topic: Assignment of RV to RV
Replies: 2
Views: 16690

The best way to save data from TRichViewEdit in database is writing directly into the table field, instead of copying data to TDBRichViewEdit.
See the demo: Demos\Delphi\DB Demo\2 RichViewEdit\

Why the document is not updated when you call LoadRVFFromStream of TDBRichViewEdit? Because ...
by Sergey Tkachenko
Sun Oct 30, 2005 9:48 pm
Forum: Support
Topic: Error about CharSpacing
Replies: 4
Views: 22386

Value of this property is interpreted by WinAPI. It is passed to SetTextCharacterExtra function.
by Sergey Tkachenko
Sat Oct 29, 2005 4:22 pm
Forum: Support
Topic: How to create/modify RTF text inside a browser (web based)
Replies: 8
Views: 38042

I am afraid that you need to implement downloading data in your ActiveX yourself (using Indy, ICS or other components allowing to download data via http).

lkessler, I think that explanation does not explain too much :)
by Sergey Tkachenko
Sat Oct 29, 2005 4:20 pm
Forum: Support
Topic: xhtml/xml compliancy
Replies: 7
Views: 44879

Added in to-do list: to add an option for saving named entities as character codes.
NBSP is not the only named character enity used.
Others are: GT, LT, AMP, and a number of characters for saving text of Symbol and Wingdings fonts.
by Sergey Tkachenko
Sat Oct 29, 2005 4:11 pm
Forum: Support
Topic: Hyperlink Problem
Replies: 2
Views: 17241

Make sure that rvoClearTagOnStyleApp is excluded from EditorOptions
by Sergey Tkachenko
Sat Oct 29, 2005 4:09 pm
Forum: Support
Topic: Saving BackgroundStyle
Replies: 10
Views: 41410

The Michel's suggestion is absolutely correct.
Call CanChange before (this will change table to the editing mode), and call Change after (this will inform table that RichViewEdit was modified).
All these operations are required only when you modify documents by non-editing methods (including ...
by Sergey Tkachenko
Sat Oct 29, 2005 11:31 am
Forum: Examples, Demos
Topic: [RvXML] How to save several documents in one XML file
Replies: 10
Views: 102671

RvXML.SaveToStream
by Sergey Tkachenko
Fri Oct 28, 2005 12:35 pm
Forum: Support
Topic: xhtml/xml compliancy
Replies: 7
Views: 44879

Can you give me a link to document explaining this issue?
by Sergey Tkachenko
Fri Oct 28, 2005 12:33 pm
Forum: Support
Topic: Access Violation using table
Replies: 1
Views: 13938

It's a known problem, if you use version 1.9.8 and Delphi 2005.
If yes:
- if you are a registered TRichView version, update your copy of TRichView to the newer version;
- if you use a trial version, send me e-mail, I'll send you a fixed version.
by Sergey Tkachenko
Fri Oct 28, 2005 12:28 pm
Forum: Examples, Demos
Topic: [Demo] How to play AVI files in editor
Replies: 14
Views: 143990

One more suggestion: I just noticed that the TMediaPlayer's Stop button does not reset the movie position to the beginning (so I do not understand what's the difference between Stop and Pause buttons), so hiding additional buttons may be undesirable.
by Sergey Tkachenko
Fri Oct 28, 2005 12:25 pm
Forum: Examples, Demos
Topic: [RvXML] How to save several documents in one XML file
Replies: 10
Views: 102671

RvXML.SaveToFile('c:\doc.xml') saves TRichView (or TRichViewEdit) assigned to RvXML.RichView.

RichViewXML has documentation as a demo project (documentation in XML files, a viewer is included)