We’ve uploaded new versions of our components: TRichView 20.5.1.
Trial versions are available here: https://www.trichview.com/download/
New in this version:
In this version, the VCL trial version uses the same trial protection as the FireMonkey version: documents are “watermarked” when displayed and printed. Previously, it displayed a red floating label that could be too annoying.
The setups wizards were updated (both the main setup and IDE installer) to use modern UI.
In the previous update of TRichView, we ported to Android only Tutorial, “Editors\Editor 1” and “Editors\Editor 2\” demos.
In this update, the rest of demo projects has been ported.
Main changes:
However, many demo projects were redesigned completely. For example, “Assorted\Search and Replace” demo allows searching using toolbars, “Assorted\Fields\MailMerge*\” demos have a template editor and a result generator combined in a single application.
There is a topic with additional information about ported demo projects (including videos and screenshots): viewtopic.php?t=11205
Like VCL/LCL version, FireMonkey version of TRichView editor can check spelling in a background thread and mark misspelled words with special red underlines. Words are checked using third-party components in OnSpellingCheck event.
In this update, TRichViewEdit offers one more option: using a spelling checking service provided by the current platform. Currently, FireMonkey implements this service for macOS. To activate this feature, assign TRichViewEdit.CheckSpelling = True. With a platform service, you do not need to assign any events, everything works automatically.
Ok, misspelled words are found and marked, how to correct them?
Suggestions for correction of the current misspelled word can be added to a popup menu. If your editor uses the standard popup menu (when PopupMenu property is not assigned), suggestions are added automatically. If you use a custom popup menu, you can use AddSpellingMenuItems to add suggestions to your menu.
If you use a third-party spelling checker, you can assign OnGetSpellingSuggestions to provide information for adding spelling menu items.
“SmartPopup“ buttons can be shown in the editor under the specified conditions. In VCL/LCL version, you can either assign PopupMenu to this button, or process a click on this button.
Improvements in this update of FireMonkey version:
This screenshot shoes a popup created from TPopupMenu:
By default, when you call SearchText method, it selects the found text.
It may be undesirable, because selection requires a formatted document (and you do not want to display a document and want to skip a formatting step for efficiency), and TRVReportHelper component does not support selection.
You can use OnTextFound event to prevent selection.
It was implemented in older versions of TRichView. But how to continue search from the last found results without selecting them?
The new version offers this option using StoreSearchResult method.
This feature is used in the updated wrapper for ReportBuilder (reporting components by Digital Metaphors) to highlight search results in a report preview: viewtopic.php?t=11225
Internally TppRichView object uses TRVReportHelper component, and text is searched in this component.
One more custom drawing event is added: OnDrawCurrentLine.
The next ADUG Symposium will take place on Friday, 9th May. You can attend in…
We have released TRichView 23.2 and updates of related components The main new feature in…
RVMedia 11.1 has been released Main new features: UDP streaming with FFmpeg improved error handling…
We have released TRichView 23.1 and updates of related components The main new feature in…
We've released our installer program as freeware with source code:http://www.trichview.com/ideinstall/ It was updated to version…