TRichView in VirtualTree

News about TRichView, ScaleRichView, ReportWorkshop, RVMedia
Post Reply
Sergey Tkachenko
Site Admin
Posts: 17553
Joined: Sat Aug 27, 2005 10:28 am
Contact:

TRichView in VirtualTree

Post by Sergey Tkachenko »

In the today's update, we added Virtual TreeView support to TRichView.

Virtual TreeView is an open source treeview control. It has many advanced features, it is fast and memory-efficient.
It can be downloaded from: https://github.com/Virtual-TreeView/Virtual-TreeView

The original Virtual TreeView includes two components:
- TVirtualDrawTree (owner-drawn tree)
- TVirtualStringTree (a tree with text nodes)

TRichView allows adding rich text content to trees. There are two ways for doing it:
- in TVirtualDrawTree
- in the new component, TRVVirtualStringTree (inherited from TVirtualStringTree).

Using TRVVirtualStringTree is simpler. It allows having both plain-text and rich-text columns.

The following features are supported:
  • displaying multiline rich text content (stored as RVF)
  • ability to have more than one rich text column
  • inplace editing
  • calculating item heights (and updating them even while editing)
  • saving/loading rich text content when tree nodes are saved/loaded
  • VCL themes
  • receiving a plain text representation of rich text content (for example, it is useful for sorting)
In the screenshots below, the first column is a plain text column, the second column in a rich text column (managed by TRichView).
RVVirtualStringTree.png
RVVirtualStringTree.png (99.29 KiB) Viewed 51838 times
RVVirtualStringTreeThemed.png
RVVirtualStringTreeThemed.png (107.22 KiB) Viewed 51838 times
TRichView setup includes source code of TRichView+VirtualTree integration (both in the full and the trial versions of TRichView).
It can be found in <TRichView Dir>\ThirdParty\VirtualTree\ folder.
This package is installed by the Setup, if VirtualTree is already installed.
There are two demo projects available. They show how to use TVirtualDrawTree and TRVVirtualStringTree.

The current version supports only Delphi and C++Builder (RAD Studio XE3 and newer). We plan adding Lazarus support in future updates.

Previous version:
https://www.trichview.com/forums/viewto ... f=6&t=9954
Sergey Tkachenko
Site Admin
Posts: 17553
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Translations

Post by Sergey Tkachenko »

In this update, the following UI translations are updated for Report Workshop:
- Catalan
- Danish
- German
- Spanish.
Thanks to Josep Mas i Dedeu, Kurt Bilde, Ruediger Kabbasch, Raúl Izquierdo.
Sergey Tkachenko
Site Admin
Posts: 17553
Joined: Sat Aug 27, 2005 10:28 am
Contact:

TRichView in VirtualTree: update

Post by Sergey Tkachenko »

A new version has been uploaded.

1)
In this update, TRichView supports VirtualTree in Lazarus as well.
In Lazarus, VirtualTree is installed by default, so you do not need to install it specially.
Some small corrections were made; an icon was added for TRVVirtualStringTree component.

2)
The following UI translations are updated for Report Workshop and RichViewActions:
- Chinese (both simplified and traditional)
- Japanese
- Turkish
- Ukrainian.
Thanks to Zhiyuan Wang, Ertan Küçükogl, Sergey Kovbasa.
Sergey Tkachenko
Site Admin
Posts: 17553
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRichView in VirtualTree

Post by Sergey Tkachenko »

In TRichView 20.1, a VirtualTree integration was updated.

For Delphi, it supports the new version of VirtualTree (that can be downloaded, for example, from GetIt in Delphi 11). A support for older version of VirtualTree can be activated by commenting a compiler $define in the include file.

For Lazarus, it supports VirtualTree that is installed in Lazarus 2.x by default (it has "laz." in unit and package names).
Post Reply