Search found 9400 matches

by Sergey Tkachenko
Sat Apr 13, 2024 9:04 am
Forum: Support
Topic: Empty text item possible?
Replies: 5
Views: 874

Re: Empty text item possible?

But empty text items cannot interact with a mouse pointer as well, because they have zero size.
Visibility of hidden items can be switched on and off.
by Sergey Tkachenko
Fri Apr 12, 2024 8:39 pm
Forum: Support
Topic: Empty text item possible?
Replies: 5
Views: 874

Re: Empty text item possible?

It may be removed only:
- when the user edits this paragraph (it includes calling editing methods that modify this paragraph).
- when inserting this content in another document.
Otherwise, it's ok to use empty text item.
Another solution is using hidden items.
by Sergey Tkachenko
Fri Apr 12, 2024 8:36 pm
Forum: Support
Topic: Text not visible for some demo on IOS 16.7
Replies: 1
Views: 473

Re: Text not visible for some demo on IOS 16.7

I believe this is really a style issue. If you do not specify TRichViewEdit.Color (it is Null by default), no special background will be drawn, and a background from FMX style will be used ("memostyle" by default). As for text color, it is defined in TRVStyle.TextStyles[], and Black for no...
by Sergey Tkachenko
Fri Apr 12, 2024 8:09 pm
Forum: Support
Topic: Empty text item possible?
Replies: 5
Views: 874

Re: Empty text item possible?

It is possible to add it in code. But on editing, it may be removed.
You can try using a text style having EmptyWidth = 1.
by Sergey Tkachenko
Tue Apr 09, 2024 11:15 am
Forum: Support
Topic: Now Getting Runtime Error 236 on Delphi Start
Replies: 12
Views: 24960

Re: Now Getting Runtime Error 236 on Delphi Start

Try to turn off update checking.
Open regedit. In HKEY_CURRENT_USER\SOFTWARE\TRichView, change AllowCheck = 0.
by Sergey Tkachenko
Mon Apr 08, 2024 3:29 pm
Forum: Support
Topic: Now Getting Runtime Error 236 on Delphi Start
Replies: 12
Views: 24960

Re: Now Getting Runtime Error 236 on Delphi Start

Do you have the newest version of TRichView?
by Sergey Tkachenko
Sat Apr 06, 2024 12:23 pm
Forum: Announcements
Topic: About RAD Studio 12.1 compatibility
Replies: 0
Views: 1396

About RAD Studio 12.1 compatibility

RAD Studio 12.1 is completely compatible with RAD Studio 12.0.
You can use the existing version of TRichView and RVMedia (both the trial and the full version), no changes in the components or installers are required.
by Sergey Tkachenko
Tue Apr 02, 2024 10:38 am
Forum: Support
Topic: Numbered lists, wrong font after load / save
Replies: 5
Views: 20362

Re: Numbered lists, wrong font after load / save

Actually, TRichView already does adjustment of some font properties for the first list marker. But it does not do it for a font name.
It's more complicated, because fonts name of bullets should not be adjusted. I need more time. Not in the next update, sorry.
by Sergey Tkachenko
Sat Mar 30, 2024 6:55 pm
Forum: Support
Topic: Math Support
Replies: 2
Views: 1582

Re: Math Support

TRVMathItemInfo has AsBitmap method:
function TRVMathItemInfo.AsBitmap(RVData: TCustomRVData; FillColor: TColor): TBitmap;
by Sergey Tkachenko
Fri Mar 29, 2024 9:16 am
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 16
Views: 47443

Re: [Demo] Editors in editors

Maybe you call Reformat instead of Format?
by Sergey Tkachenko
Wed Mar 27, 2024 8:46 pm
Forum: Support
Topic: merge items in RV17.6.2--RV22
Replies: 14
Views: 2155

Re: merge items in RV17.6.2--RV22

I confirm the bug in RTF and DocX reading. Quick fix: Open RVRTFProps.pas. Change the line 2764 from if (InsertPoint > 0) and item.SameAsPrev and (item.StyleNo >= 0) and (CurrentRVData.GetItemStyle(InsertPoint - 1) = item.StyleNo) and (item.Checkpoint = nil) then to if (InsertPoint > 0) and item.Sam...
by Sergey Tkachenko
Tue Mar 26, 2024 7:19 pm
Forum: Support
Topic: merge items in RV17.6.2--RV22
Replies: 14
Views: 2155

Re: merge items in RV17.6.2--RV22

In your original example (|The item1| cat item2| ate item3|), are all 3 items hyperlinks with different targets?
In this case, they must not be merged into a single item.
Please send me a complete sample document for testing.
by Sergey Tkachenko
Tue Mar 26, 2024 5:42 pm
Forum: Support
Topic: merge items in RV17.6.2--RV22
Replies: 14
Views: 2155

Re: merge items in RV17.6.2--RV22

Do you load RTF or RVF? If RTF (Rich Text Format, format of MS Word), then RTF does not have items. It has commands like "make bold", "apply font name", etc. Also, tags are not saved in RTF (except for hypertext targets stored in tags). So, items cannot be kept when saving and re...
by Sergey Tkachenko
Tue Mar 26, 2024 9:06 am
Forum: Support
Topic: PDF Engine and TRichView
Replies: 1
Views: 1486

Re: PDF Engine and TRichView

TRichView does not have its own methods for PDF export. However, it can use third-party PDF engines. 1. If you use FireMonkey, you can use PDF engine of Skia4Delphi. Just use TRVPrint.SavePDF or TRVReportHelper.SavePDF . Skia4Delphi is included in Delphi 12, or can be downloaded from https://github....
by Sergey Tkachenko
Mon Mar 25, 2024 10:16 am
Forum: Support
Topic: Insert Item into a Header\Footer
Replies: 3
Views: 1797

Re: Insert Item into a Header\Footer

3) This function returns the index of paragraph style having all properties of the ParaNo-th paragraph style, but the specified alignment. If such a style does not exist, the function creates it: function GetParaNoWithAlignment(ARVStyle: TRVStyle; ParaNo: Integer; Alignment: TRVAlignment): Integer; ...