Text and Paragraph Styles
RichView documents are style-based. Formatting is separated from data, so you can give a different look to your documents by applying another set of styles.
Multi-demo (see subdemo for styles customization):
- Demos\Delphi\MultiDemo\ subdirectory of RichView installation, or
- Demos\CBuilder\MultiDemo\ subdirectory of RichView installation, or
- download the compiled demo.
You still can implement a traditional text editor user interface (with commands like “apply font”, “make bold”, etc.); there is a demo application showing how to do this.
Right click RichViewEdit at design time, choose Settings in the context menu, then choose Allow adding styles dynamically, and RichView will do almost all work for maintaining styles itself.
Demo of editor with traditional interface:
- Demos\Delphi\Editors\Editor 2\ subdirectory of RichView installation, or
- Demos\CBuilder\Editors\Editor 2\ subdirectory of RichView installation.
|