Search found 7537 matches

by Sergey Tkachenko
Tue Aug 21, 2018 6:16 pm
Forum: Support
Topic: How to delete a TRVTableItemInfo from TRichView?
Replies: 4
Views: 455

Re: How to delete a TRVTableItemInfo from TRichView?

Call richview1.Format after DeleteItems.
by Sergey Tkachenko
Tue Aug 21, 2018 3:31 pm
Forum: Support
Topic: Clone a table from one TRichView to another
Replies: 2
Views: 324

Re: Clone a table from one TRichView to another

The simplest way is selecting the table, saving selection to RVF, and then insert RVF to another editor. Let ItemNo is the item index of the table in rve1, and you want to insert a copy of this table in the position of caret in rve2. var Stream: TMemoryStream; rve1.SetSelectionBounds(ItemNo, 0, Item...
by Sergey Tkachenko
Tue Aug 21, 2018 3:27 pm
Forum: Support
Topic: How to delete a TRVTableItemInfo from TRichView?
Replies: 4
Views: 455

Re: How to delete a TRVTableItemInfo from TRichView?

DeleteSelection is an editing operation, so it is available only in editor.

In TRichView, you can use DeleteItems method.
by Sergey Tkachenko
Tue Aug 21, 2018 3:25 pm
Forum: Support
Topic: How to set the alignment of TRVTableItemInfo in cell
Replies: 9
Views: 660

Re: How to set the alignment of TRVTableItemInfo in cell

The cell is not really empty, it contains one empty text item. This code inserts a table having all cells right-alignment: function GetParaStyleWithAlignment(Alignment: TRVAlignment; Style: TRVStyle): Integer; var ParaStyle: TParaInfo; begin ParaStyle := TParaInfo.Create(nil); ParaStyle.Alignment :=...
by Sergey Tkachenko
Tue Aug 21, 2018 2:53 pm
Forum: Support
Topic: How to set the alignment of TRVTableItemInfo in cell
Replies: 9
Views: 660

Re: How to set the alignment of TRVTableItemInfo in cell

In TRichView, cells do not have horizontal alignment properties.
Align all paragraphs in the cell to the right.
by Sergey Tkachenko
Fri Aug 17, 2018 9:22 pm
Forum: Support
Topic: latest version in Delphi and Lazarus issue
Replies: 3
Views: 435

Re: latest version in Delphi and Lazarus issue

Sorry, I do not remember an example with imagebutton.pas. Are you sure that it is from our examples?

A memory may be corrupted somehow. What's the code of GetTempPath?
by Sergey Tkachenko
Wed Aug 15, 2018 8:33 am
Forum: ScaleRichView
Topic: SRVPrint - there is no default printer currently selected
Replies: 3
Views: 825

Re: SRVPrint - there is no default printer currently selected

I sent a fix by a private message, please test it.
by Sergey Tkachenko
Tue Aug 14, 2018 5:25 pm
Forum: Support
Topic: hunspell for richview
Replies: 5
Views: 5168

Re: hunspell for richview

You tried to install an old version of the HunSpell parser.

The new version is in <TRichView Dir>\ThirdParty\HunSpell\Source\, and TRichView Setup installs it automatically.
by Sergey Tkachenko
Tue Aug 14, 2018 5:18 pm
Forum: ScaleRichView
Topic: SRVPrint - there is no default printer currently selected
Replies: 3
Views: 825

Re: SRVPrint - there is no default printer currently selected

I thought that checking for Printers.Count = 0 solved the problem, and these changes there made...

I cannot reproduce the error in the scenario you described. In my test, Printers.Count = 0 in this case.
What version of Windows do you use?
by Sergey Tkachenko
Tue Aug 14, 2018 2:02 pm
Forum: RVMedia
Topic: Pause Recording
Replies: 3
Views: 669

Re: Pause Recording

It will be included in the next update.
While paused, new frames and sound samples will be not written to a file.
It is perfectly ok for video without sound, but video with sound may be out of sync a bit after resuming, because video and sound are buffered differently.
by Sergey Tkachenko
Tue Aug 14, 2018 1:59 pm
Forum: RVMedia
Topic: OnStartVideoStream not working
Replies: 1
Views: 342

Re: OnStartVideoStream not working

I confirm this problem, it will be fixed in the next update. It is almost ready, we just need to make some final tests and prepare installations.
by Sergey Tkachenko
Tue Aug 14, 2018 1:58 pm
Forum: RVMedia
Topic: Exception during shutdown
Replies: 3
Views: 608

Re: Exception during shutdown

We need some time to investigate this issue. It looks like this is a C++Builder issue and it is not directly related to our code, so it cannot be fixed in our code. But I'll try to find a workaround.
by Sergey Tkachenko
Fri Aug 10, 2018 8:39 pm
Forum: Support
Topic: GetItemTextR
Replies: 4
Views: 595

Re: GetItemTextR

Do you want to store a text representation of TRichView in a separate field?
In this case you can use functions from RVGetText.pas (or, if you need Unicode text, from RVGetTextW.pas).

If you need this text to implement a full text search, it's better to use RVGetTextRange from RVLinear.pas instead
by Sergey Tkachenko
Thu Aug 09, 2018 12:57 pm
Forum: Support
Topic: GetItemTextR
Replies: 4
Views: 595

Re: GetItemTextR

It was removed because it makes no sense now, because all text is stored as Unicode.
Also, the parameters of item.AsText were changed.

What's the purpose of this function? How do you use its result?