Search found 9731 matches

by Sergey Tkachenko
Tue Nov 11, 2008 1:42 pm
Forum: Support
Topic: InsertPageBreak
Replies: 1
Views: 9587

InsertPageBreaks does the following:
1) If the caret is not at the beginning of a paragraph, adds a line break (in the next update, line break will also be added when the caret is at the beginning of a document).
2) Sets PageBreaksBeforeItems = True for the item at the position of the caret, in ...
by Sergey Tkachenko
Mon Nov 10, 2008 4:15 pm
Forum: ScaleRichView
Topic: Problem with unitsprogram property
Replies: 7
Views: 46116

We cannot reproduce the problem. Please send RVF file to [email protected]
by Sergey Tkachenko
Mon Nov 10, 2008 6:37 am
Forum: Support
Topic: Problem in difference between main page and print preview
Replies: 1
Views: 10706

It's by design. TRichView and TRichViewEdit components do not support WYSIWYG, lines will be wrapped in different places, not like on paper.
If you need WYSIWYG, use TSRichViewEdit (from ScaleRichView).
by Sergey Tkachenko
Sat Nov 08, 2008 11:26 am
Forum: Examples, Demos
Topic: [Demo] Creating table from several RichViewEdits
Replies: 0
Views: 38596

[Demo] Creating table from several RichViewEdits

This demo has 3 TRichViewEdit controls containing source documents.
When you press a button, the demo creates 1 x 3 table and copies contents of the source editors to it cells.
rv2table.zip
(3.18 KiB) Downloaded 2218 times
[+] History of updates
2018-Apr-9: compatibility with TRichView 17
by Sergey Tkachenko
Fri Nov 07, 2008 4:17 pm
Forum: Support
Topic: How to set title property for hyperlinks
Replies: 4
Views: 15047

Include rvoShowItemHints in Rve.Options.
Set Rve.ShowHint = True.
by Sergey Tkachenko
Wed Nov 05, 2008 4:35 pm
Forum: Support
Topic: How to set title property for hyperlinks
Replies: 4
Views: 15047

Do you mean a popup hint?
See the help file on TRVExtraItemStrProperty, rvespHint.
It can be set for any item, not only for links.
by Sergey Tkachenko
Tue Nov 04, 2008 6:13 pm
Forum: Support
Topic: Memory error
Replies: 1
Views: 8097

Sorry, this information is not enough to fix this problem.
by Sergey Tkachenko
Tue Nov 04, 2008 6:12 pm
Forum: Support
Topic: Copy Images as a Text to Clipboard
Replies: 2
Views: 12992

Unfortunately, the current TRichView version does not allow this.
You can use a low level event OnSaveComponentToFile to modify how images are saved in text, but it will not affect methods for copying or saving selection, only methods for saving the complete text:

uses CRVData, RVUni;
procedure ...
by Sergey Tkachenko
Sun Nov 02, 2008 4:01 pm
Forum: Support
Topic: Auto pagebreak
Replies: 3
Views: 12855

Sorry, TDBSRichViewEdit is not included in the trial. It was introduced in newer version, and currently available only for registered users.
We are working on a new trial, but it may take some time to complete.
by Sergey Tkachenko
Sun Nov 02, 2008 11:26 am
Forum: ScaleRichView
Topic: Problem with unitsprogram property
Replies: 7
Views: 46116

Please post the code how you save and how you load documents.
by Sergey Tkachenko
Sun Nov 02, 2008 11:13 am
Forum: Support
Topic: Auto pagebreak
Replies: 3
Views: 12855

ScaleRichView includes a DB component too (TDBSRichViewEdit).

I am not sure that do you meand by auto-page breaks. Do you want to display page breaks? I am afraid this cannot be implemented efficiently in TDBRichViewEdit. Page breaks can be displayed only when the document is formatted for printing ...
by Sergey Tkachenko
Sun Nov 02, 2008 11:00 am
Forum: Support
Topic: Need help for save and restore the page properties
Replies: 10
Views: 34270

Unfortunately, SRVE cannot update margins automatically after calling SRVE.RichViewEdit.LoadRVF.
You need to call

Code: Select all

SRVE.RichViewEdit.LoadRVF(...); // or LoadRTF
SRVE.SetRVMargin;
SRVE.Format;
Or you can call

Code: Select all

SRVE.LoadRVF(...);
SRVE.Format;
by Sergey Tkachenko
Sat Nov 01, 2008 11:32 am
Forum: ScaleRichView
Topic: Table Actions Disabled
Replies: 2
Views: 23187

Hmm, can you explain how to reproduce this problem?
Do you call SRVGetRichViewEditFromPopupComponent function? If not, TRVAPopupMenu will have problems with TSRichViewEdit, table-related actions will not be displayed in it.
by Sergey Tkachenko
Tue Oct 28, 2008 2:07 pm
Forum: Support
Topic: Operate On Table NOT In rvtoEditing
Replies: 2
Views: 12101

procedure TForm1.RichViewEdit1RVMouseDown(Sender: TCustomRichView;
Button: TMouseButton; Shift: TShiftState; ItemNo, X, Y: Integer);
var LItemNo, LOffs, r, c: Integer;
LRVData: TCustomRVFormattedData;
pt: TPoint;
Table: TRVTableItemInfo;
begin
if (Button<>mbLeft) or not (ssDouble in Shift ...
by Sergey Tkachenko
Sun Oct 26, 2008 5:57 pm
Forum: Support
Topic: Newbie Font Color Questions
Replies: 2
Views: 9037

There are several modes for reading formatting from RTF files.
As I understand, in your application "Use Closest" mode is used: no new styles are added when reading RTF, only existing styles are used.
For the best results, "Add if needed" mode must be used instead.
These modes are defined in rv ...