Search found 9732 matches

by Sergey Tkachenko
Tue Feb 12, 2008 6:19 pm
Forum: Support
Topic: Implement "Track changes" feature
Replies: 3
Views: 13565

Sorry, this feature is not planned in near future.
The simplest way to implement is using OnKeyDown, OnKeyPress, OnPaste to trap editing operations.
For example, the user pressed Backspace. You use OnKeyDown to prevent the default action, but apply the special style to the character to the left ...
by Sergey Tkachenko
Tue Feb 12, 2008 6:14 pm
Forum: Support
Topic: .net version of RV?
Replies: 8
Views: 23438

Still in unknown future
by Sergey Tkachenko
Tue Feb 12, 2008 6:14 pm
Forum: Support
Topic: Load RVF into table cells
Replies: 3
Views: 15477

Pass any TColor value and two nil s as additional parameters.
But there is a problem: cells do not support merging style collections.
That means that:
1) RVF file must have the same collection of styles as TRVStyle used by TRichView containing the table
2) RVFTextStylesReadMode and ...
by Sergey Tkachenko
Tue Feb 12, 2008 6:07 pm
Forum: Support
Topic: How can i get the Column Size ?
Replies: 5
Views: 22018

Normally, width of cells are calculated basing on BestWidth properties of table cells. Consider assigning BestWidths properties from one table to another. There may be a problem with merged cells, or if cells in the same column have different BestWidths, though.

Widths of columns are stored in Fmt ...
by Sergey Tkachenko
Tue Feb 12, 2008 5:58 pm
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 37686

a) Using paragraph and/or text protection (Options property of paragraph style, Protection property of text style)
or
b) Using table.OnCellEditing event
by Sergey Tkachenko
Sat Feb 09, 2008 6:58 pm
Forum: ScaleRichView
Topic: more RVAction Hyperlink questions
Replies: 11
Views: 56159

I confirm this problem. Will be fixed.
by Sergey Tkachenko
Fri Feb 08, 2008 3:58 pm
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 37686

It's not possible to implement exactly what you want. You can include DeleteProtect without ModifyProtect, it's almost what you need, but... It does not allow the last character of item to be deleted, i.e. it does not allow to create empty item from it.
May be protection allowing making empty items ...
by Sergey Tkachenko
Fri Feb 08, 2008 7:52 am
Forum: ScaleRichView
Topic: <CTRL-Z> falls off end of list and generates errors
Replies: 5
Views: 31052

We will try to upload it in this week
by Sergey Tkachenko
Thu Feb 07, 2008 6:39 pm
Forum: ScaleRichView
Topic: <CTRL-Z> falls off end of list and generates errors
Replies: 5
Views: 31052

Please wait for the next update, it must fix this problem
by Sergey Tkachenko
Thu Feb 07, 2008 6:35 pm
Forum: Support
Topic: How to protect paragraph against deletion?
Replies: 13
Views: 37686

rvprModifyProtect does not allow editing text, so probably you should remove it.
rvprDeleteProtect does not allow deleting item (at least one character must remain), so this is probably what you need.
Also consider using rvprParaStartProtect.
by Sergey Tkachenko
Thu Feb 07, 2008 2:53 pm
Forum: Support
Topic: Adding additional formatting when inserting RVF from stream
Replies: 3
Views: 15351

No, there is only way: loading in offscreen TRichView and modifying paragraph properties. It is quite simple. But you need to decide what to do with list markers that can be in the document. Or what if it is started from table or break (they cannot be markered)
by Sergey Tkachenko
Thu Feb 07, 2008 11:43 am
Forum: Support
Topic: Problems with TRvPrint
Replies: 5
Views: 21598

Try changing TCustomRVPrint.DrawPreview to: procedure TCustomRVPrint.DrawPreview(pgNo: Integer; Canvas: TCanvas;
const PageRect: TRect);
var OldMapMode, OldPPI: Integer;
OldWindowExt, OldViewportExt: TSize;
OldViewportOrg: TPoint;
begin
OldMapMode := GetMapMode(Canvas.Handle);
SetMapMode(Canvas ...
by Sergey Tkachenko
Tue Feb 05, 2008 3:11 pm
Forum: Support
Topic: Table Properties Dialog - Where is it?
Replies: 2
Views: 9900

ItemPropRVFrm unit. Open this unit when RichViewActions package is an active project, otherwise you'll need to open other units (containing ancestor forms) before it.
by Sergey Tkachenko
Tue Feb 05, 2008 12:27 pm
Forum: Support
Topic: Editor initialization at app. start up time
Replies: 2
Views: 9835

If you use RichViewActions, call
rvActionNew1.ExecuteTarget(RVE);
when the application starts (in Form.OnCreate)
by Sergey Tkachenko
Tue Feb 05, 2008 11:35 am
Forum: Support
Topic: Problems with TRvPrint
Replies: 5
Views: 21598

Preview100PercentWidth/Height just perform some calculations, they should not affect coordinates.
What is DrawTransparentPreview?