Page 1 of 1

TRichView in VirtualTree

Posted: Thu May 14, 2020 12:14 pm
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:

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 (99.29 KiB) Viewed 9242 times
RVVirtualStringTreeThemed.png (107.22 KiB) Viewed 9242 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: ... f=6&t=9954


Posted: Thu May 14, 2020 12:27 pm
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.

TRichView in VirtualTree: update

Posted: Sun May 17, 2020 9:07 pm
by Sergey Tkachenko
A new version has been uploaded.

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.

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.