Search found 7696 matches

by Sergey Tkachenko
Fri May 10, 2019 10:34 am
Forum: Support
Topic: merge table rows
Replies: 1
Views: 556

Re: merge table rows

var Stream: TMemoryStream; Stream := TMemoryStream.Create; table2.SaveRowsToStream(Stream, 9, 1); Stream.Position := 0; table2.LoadFromStreamEx(3, 0, False); Stream.Free; RichView1.Format; This code works if tables are in the same editor. If rows are incompatible, LoadFromStreamEx raises an excepti...
by Sergey Tkachenko
Fri May 10, 2019 10:10 am
Forum: Examples, Demos
Topic: Caret missing
Replies: 6
Views: 1394

Re: Caret missing

By the way, as far as I remember, TRibbon component has some problems when using in non-main forms.
by Sergey Tkachenko
Fri May 10, 2019 10:08 am
Forum: Examples, Demos
Topic: Caret missing
Replies: 6
Views: 1394

Re: Caret missing

Probably, it is the same problem as described here:
https://www.trichview.com/forums/viewto ... =12&t=9402
A fix was suggested in that topic (it will be included in the next update)
by Sergey Tkachenko
Thu Apr 25, 2019 7:33 am
Forum: Support
Topic: CxDBGridBandedTableView Demo
Replies: 1
Views: 653

Re: CxDBGridBandedTableView Demo

There is no special demo, because TRichViewEdit in cxGrid works like any other editor. To show content using TcxTRichViewEdit, assign the proper value to the column's Properties in the Object Inspector ('TRichViewEdit', as far as I remember). If you use RichViewActions to build UI, for example using...
by Sergey Tkachenko
Fri Apr 19, 2019 1:15 pm
Forum: Support
Topic: Future versions
Replies: 21
Views: 16500

Re: Future versions

Unfortunately, TRichView porting was paused. We are still working to implement the proper support of high dpi mode and "per monitor v2". It's much more complex work than I expected initially. When it will be completed, we will resume porting to Lazarus (SRVControls and Report Workshop need to be por...
by Sergey Tkachenko
Fri Apr 12, 2019 6:08 am
Forum: Support
Topic: TableGrid lines projecting when exported
Replies: 2
Views: 920

Re: TableGrid lines projecting when exported

Sorry, I am not sure that I understand the problem.
Please attach this document in RVF format.
by Sergey Tkachenko
Wed Apr 10, 2019 3:02 pm
Forum: RVMedia
Topic: CamMultiView vs serveral CamViews, performance?
Replies: 1
Views: 921

Re: CamMultiView vs serveral CamViews, performance?

I think performance is more or less the same (in Delphi; in Lazarus, I believe 4 separate viewers are more efficient).
by Sergey Tkachenko
Wed Apr 10, 2019 9:31 am
Forum: Support
Topic: AntiAliasing/Pallet different on different machines.
Replies: 2
Views: 801

Re: AntiAliasing/Pallet different on different machines.

I am not sure, but probably the results depend on the system ClearType setting.
(in Windows 10, they can be found by typing "ClearType" in the Windows search box)
by Sergey Tkachenko
Mon Apr 08, 2019 11:25 am
Forum: RVMedia
Topic: Missing last frames
Replies: 6
Views: 2524

Re: Missing last frames

RVMedia sets the proper video properties and pass frames to an encoder according to the specified frame rate. Everything else is up to the encoder and we cannot modify it. One thing is possible: receiving and writing frames is too slow, so RVMedia cannot feed the encoder with enough count of frames....
by Sergey Tkachenko
Wed Apr 03, 2019 6:51 am
Forum: Support
Topic: Bullets question
Replies: 1
Views: 695

Re: Bullets question

If you mean StyleTemplates, then yes, they include text and paragraph properties, but not bullets&numbering. So TextStyles and ParaStyles can be managed using StyleTemplates, but ListStyles cannot. But even if we add styletemplates for list styles, it does not make some style default. If you want to...
by Sergey Tkachenko
Sun Mar 31, 2019 7:44 pm
Forum: Support
Topic: How to get newly inserted item??
Replies: 1
Views: 715

Re: How to get newly inserted item??

Add*** methods append data to the end of the document. If this method adds a single item (like rv.AddNLTag), you can access it using the index rv.ItemCount - 1. For example: rv.AddNLTag('Hello', 0, 0, 'greetings'); Caption := rv.GetItemText(rv.ItemCount - 1) + rv.GetItemTag(rv.ItemCount - 1); If you...
by Sergey Tkachenko
Thu Mar 28, 2019 9:22 am
Forum: ScaleRichView
Topic: The header string cannot be replaced after upgrading to version 8.5
Replies: 8
Views: 1680

Re: The header string cannot be replaced after upgrading to version 8.5

You can use SubDocuments[srvhftNormalHeader] not only for creating a new header, but for modifying existing header. You old code must work if you replace all occurrences of "SRichViewEdit1.RVHeader" to "SRichViewEdit1.SubDocuments[srvhftNormalHeader]". It does not matter if the text is inserted dire...
by Sergey Tkachenko
Thu Mar 28, 2019 9:00 am
Forum: ScaleRichView
Topic: The header string cannot be replaced after upgrading to version 8.5
Replies: 8
Views: 1680

Re: The header string cannot be replaced after upgrading to version 8.5

The example of header generation is here: https://www.trichview.com/forums/viewtopic.php?f=3&t=8843 If it is too complicated, here is the simplest example: srv.Clear; srv.SubDocuments[srvhftNormalHeader].AddNL('This is a header', 0, 0); srv.RichViewEdit.AddNL('This is the main document', 0, 0); srv....
by Sergey Tkachenko
Thu Mar 28, 2019 6:41 am
Forum: ScaleRichView
Topic: How to set an item can not be deleted, but can edit the content inside
Replies: 11
Views: 2178

Re: How to set an item can not be deleted, but can edit the content inside

Can you create a simple project reproducing this problem and send it by email?


PS: after reading your post in the private forum, I think that there is a possibility that you still compile the project using older version of ScaleRichView. I may be the reason of this problem.
by Sergey Tkachenko
Thu Mar 28, 2019 6:40 am
Forum: ScaleRichView
Topic: The header string cannot be replaced after upgrading to version 8.5
Replies: 8
Views: 1680

Re: The header string cannot be replaced after upgrading to version 8.5

This code is for old version of ScaleRichView that had only one header (stored in RVHeader) and one footer (stored in RVFooter). In newer versions of ScaleRichView, header/footer design was changed. There are up to 6 headers and footers (in addition to standard headers and footers, there are headers...