Page 1 of 1

TRichView 19

Posted: Mon Oct 20, 2025 10:09 am
by carlonarcisi
hi Does the TRichView component in Delphi provide native support for collapsible/expandable text sections? I need the ability to allow users to collapse and expand specific portions of text content within the document, similar to:

Collapsible paragraphs or sections
Expandable/collapsible blocks (like accordion UI)
Show/hide functionality for text regions

If this feature isn't built-in, what would be the recommended approach to implement it? Are there any properties, methods, or events in TRichView that could facilitate this functionality

Carlo

Re: TRichView 19

Posted: Mon Oct 20, 2025 1:22 pm
by Sergey Tkachenko
This is not a built-in feature, but can be implemented by showing/hiding text after the clicked link, using a hidden text feature.
See "Expand/collapse using hidden text" demo in viewtopic.php?t=62