Adug Meeting 15/04/2024
John gave a presentation on the TRichView and TRichViewEdit Components
(TRichView.Com)
The component looks to work quite well.
It seems to be a substantial superset of the TRichEdit component in Delphi.
The TRichViewEdit component also needed a RichView Style component on the Form.
Supported on VCL, FMX (all platforms?), Lazarus LCL (Windows only)
It apparently breaks the document up into “Items”
Where an item can be a block of text (with same formatting) , an image,
hyper text link etc.
There are separate font and paragraph styles and configurations.
There seemed to be quite a lot of functionality without any code.
Then could add code to get additional functionality.
Built in:
Copy Past, Drag/Drop, Undo/Redo
John’s demo had some speed buttons, which changed settings when clicked,
Speed buttons:
Look sort of like buttons but can have glyphs on them. if have same
group number, work like radio buttons, but can have all up option.
When individual seem to work like a toggle.
A Bold button which when clicked on a block of text
would bold/unbold it, or would affect the bolding of new text.
Similarly with buttons for Italics, Underscore, Subscript/Superscript.
His Code set up methods for setting font styling that were called by
TRichview when creating the Items.
From a note in the chat, TRichview.com also has a (free) RichViewActions
which allow you to create a user interface using actions with little or
no code.
I probably should learn how to use actions, I occasionally run into
them, they seem like they might be a good concept, but like most things
probably need some practice?
The the content can be saved in a number of different formats.
The native RichView format, as well as PDF, RTF, DOCX, etc
There is printing, print preview facilities available.
Thank You John.
Next Months Meeting will largely be a chat and review of the Symposium