Search found 9011 matches

by Sergey Tkachenko
Fri Nov 25, 2022 12:55 pm
Forum: Support
Topic: strange bug in TRVHeaderFooterRVData.DrawBackToBitmap
Replies: 6
Views: 152

Re: strange bug in TRVHeaderFooterRVData.DrawBackToBitmap

Try assigning
FParaStyle := nil;
at the very end of procedure DrawParagraph (that is defined inside TCustomPrintableRVData.DrawPage).
Does it help?
If not, please send me a document where this problem happens to email richviewgmailcom.
by Sergey Tkachenko
Fri Nov 25, 2022 10:49 am
Forum: Announcements
Topic: Sale: 30% off until the end of November
Replies: 0
Views: 118

Sale: 30% off until the end of November

Sale: 30% off until the end of November on new licenses of all our components.
https://www.trichview.com/order/
by Sergey Tkachenko
Fri Nov 25, 2022 10:47 am
Forum: Support
Topic: strange bug in TRVHeaderFooterRVData.DrawBackToBitmap
Replies: 6
Views: 152

Re: strange bug in TRVHeaderFooterRVData.DrawBackToBitmap

Sorry, I do not understand how it could be, an object for BackgroundProperty ofTCustomRVParaInfo is created in its constructor and destroyed in its destructor.
Something is corrupted.
by Sergey Tkachenko
Sat Nov 12, 2022 11:22 am
Forum: Support
Topic: Scroll horizontally to item
Replies: 1
Views: 527

Re: Scroll horizontally to item

Code: Select all

var
  R: TRect;

  RichViewEdit1.GetItemCoordsEx(RichViewEdit1.RVData, ItemNo, 0, True, R);
  RichViewEdit1.HScrollPos := R.Left;
(For FMX, TRectF instead of TRect.
by Sergey Tkachenko
Thu Nov 10, 2022 11:20 am
Forum: Support
Topic: Extra Paragraphs, just load / save rtf to rtf/docx?
Replies: 17
Views: 1918

Re: Extra Paragraphs, just load / save rtf to rtf/docx?

Well, it looks lile this is the reason why this option is not enabled by default.
I'll see what I can do.
Probably, I can save auto-width option only for the table, not for cells.
by Sergey Tkachenko
Thu Nov 10, 2022 9:20 am
Forum: Support
Topic: RVPKGCBXE8.A file not found in 64-bit.
Replies: 1
Views: 201

Re: RVPKGCBXE8.A file not found in 64-bit.

Install Delphi+C++Builder packages, not C++Builder-only packages. C++Builder-only packages (RVPkgCBXE8.cbproj) support only Win32 platform. I tried, but it looks like it is impossible to compile multiple CBPROJ packages (dependent from each other) for Win64 platform. Delphi+C++Builder packages (RVPk...
by Sergey Tkachenko
Thu Nov 10, 2022 9:14 am
Forum: Support
Topic: How to know if the RichView is showing a scrollbar
Replies: 2
Views: 226

Re: How to know if the RichView is showing a scrollbar

The simplest way is to compare richview.Height and richview.ClientHeight.
Height = ClientHeight + border + horizontal scrollbar height.
by Sergey Tkachenko
Tue Nov 08, 2022 7:12 pm
Forum: Support
Topic: How to import the checkboxes from a Word or RTF document?
Replies: 1
Views: 237

Re: How to import the checkboxes from a Word or RTF document?

Sorry, loading and saving checkboxes (and other controls) in RTF and DocX is not supported yet, even in the newest version of TRichVew. Please note that MS Word has two types of checkboxes (and other controls) in document: modern (for DocX only) and legacy for DocX and RTF) controls. I just checked ...
by Sergey Tkachenko
Mon Nov 07, 2022 6:01 pm
Forum: Support
Topic: Extra Paragraphs, just load / save rtf to rtf/docx?
Replies: 17
Views: 1918

Re: Extra Paragraphs, just load / save rtf to rtf/docx?

It looks like the problem is in saving tables that have table.BestWidth = 0 (i.e. table width must be calculated from widths of cells). Widths of cells and borders are saved correctly. By default, for auto-width tables, the component saves a table width equal to the width of this table in TRichView ...
by Sergey Tkachenko
Mon Nov 07, 2022 5:10 pm
Forum: Support
Topic: Undo in Tables
Replies: 2
Views: 296

Re: Undo in Tables

I cannot reproduce this problem.
I tried both in RichViewActions' ActionTest (where Ctrl+Z is handled by TrvActionUndo) and in a fresh project (just placed TRichViewEdit, TRVStyle, linked them, ran, pasted a table from MS Word).
Maybe you have some events assigned that prevent processing undo?
by Sergey Tkachenko
Mon Nov 07, 2022 7:11 am
Forum: Support
Topic: Save RVF file with resized image
Replies: 8
Views: 705

Re: Save RVF file with resized image

TRichView includes high-quality resizing procedures.
Unit RVThumbMaker,

Code: Select all

NewBitmap := RVThumbnailMaker.MakeThumbnail(Graphic, Width, Height);
It supports transparency.
For some graphics it may refuse to resize, in this case it returns nil.
by Sergey Tkachenko
Sun Nov 06, 2022 7:39 pm
Forum: Support
Topic: Save RVF file with resized image
Replies: 8
Views: 705

Re: Save RVF file with resized image

Sorry, I misread your original question. Yes, when you assign rvepImageWidth or rvepImageHeight property (either in code or resizing with mouse or touchscreen gestures), the image itself is not changed. If you need it, you need to replace the original image with a resized copy (using SetCurrentPictu...
by Sergey Tkachenko
Sun Nov 06, 2022 2:29 pm
Forum: Support
Topic: Save RVF file with resized image
Replies: 8
Views: 705

Re: Save RVF file with resized image

Can you send me a simple project reproducing this problem?
Of course, sizes of resized images must be stored in RVF.
by Sergey Tkachenko
Tue Nov 01, 2022 12:02 pm
Forum: Examples, Demos
Topic: [Info] Spelling checking in FireMonkey macOS
Replies: 0
Views: 1013

[Info] Spelling checking in FireMonkey macOS

In FireMonkey for macOS, the platform offers a spelling checking service, so text components (including TMemo and TRichViewEdit v20.5.1+) can use it. Unfortunately, the default implementation of this service has several problems that make it almost unusable. See https://quality.embarcadero.com/brows...
by Sergey Tkachenko
Mon Oct 31, 2022 11:29 am
Forum: Announcements
Topic: TRichView 20.5.1 - demos for Androids, text search, line highlight
Replies: 5
Views: 1311

Event to highlight the current line

Event to highlight the current line

One more custom drawing event is added: OnDrawCurrentLine.

CurrentLineHighlight.png
CurrentLineHighlight.png (53.52 KiB) Viewed 1286 times