Hello There Newbie here,
How to Get WYSIWYG RichViewEditor when copy - paste Doc
I Try on your compiled demo work perfectly, but wont work on my own apps?? Like Font Style Font Size color and etc
Thanks
WYSIWYG DbRichViewEditor
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
In your application, existing collections of TextStyles and ParaStyles are used when inserting RTF (RTF character and paragraph attributes are mapped to the most similar existing styles).
Right click TDBRichViewEdit at design time, choose "Settings" in the popup menu, select "Allow adding styles dynamically". Actually, this option must be default for new components created at design time. If not, check "Default" before clicking OK.
For components created in code, assign
Right click TDBRichViewEdit at design time, choose "Settings" in the popup menu, select "Allow adding styles dynamically". Actually, this option must be default for new components created at design time. If not, check "Default" before clicking OK.
For components created in code, assign
Code: Select all
dbrve.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded;
dbrve.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;