Custom text items – new demo for TRichView and ScaleRichView

New demo projects are uploaded to the support forum: [Demo] Custom text items – TRichView.com

These demos show how to create a new item class for text items.
TRichView 19.2 or newer is required.
A custom text item class (TRVMyTextItemInfo) is implemented in CustomTextItem.pas.
It has several new properties: BorderWidth, BorderColor, AdditionalText.
The class implements saving and loading these properties in RVF.
These demos process OnDrawStyleText event to visualize BorderWidth and BorderColor properties.
(note: these properties are stored directly in item, not in a text style)

There are two demos: one for TRichViewEdit, one for ScaleRichView.

Sergey Tkachenko

Share
Published by
Sergey Tkachenko

Recent Posts

TRichView 24.0.2 – new background dialogs

This update completes the work on the new background definition system (well, almost).The new properties…

5 days ago

RVMedia 11.2 – RAD Studio 13 Florence, second remuxing

We are pleased to announce a new release of RVMedia. RVMedia now supports RAD Studio…

1 month ago

TRichView 24 – RAD Studio 13 Florence, chat, background

We are pleased to announce new releases of TRichView, ScaleRichView, and ReportWorkshop. All components now…

2 months ago

ADUG Symposium – May 9th

The next ADUG Symposium will take place on Friday, 9th May. You can attend in…

7 months ago

ANN: IDEInstaller 2.5

IDEInstaller 2.5 includes support for 64-bit Delphi IDE.

7 months ago

ANN: TRichView 23.2 – Markdown in Clipboard

We have released TRichView 23.2 and updates of related components The main new feature in…

7 months ago