In a TDBRichViewEdit I have user-entered text and automatically inserted text.
The automatically inserted text is inserted with
TextStyle.Protection := [rvprModifyProtect,rvprConcateProtect,rvprDoNotAutoSwitch,rvprStyleProtect,rvprStyleSplitProtect];
TextStyle.Color := clGray;
TextStyle.BackColor ...
Search found 15 matches
- Mon Jul 27, 2020 9:08 am
- Forum: Support
- Topic: Cursor in text with rvprDoNotAutoSwitch in his protection
- Replies: 1
- Views: 9574
- Fri Mar 16, 2018 1:19 pm
- Forum: Support
- Topic: Problem with DBRichViewEdit and Textstyle
- Replies: 1
- Views: 10654
Problem with DBRichViewEdit and Textstyle
I have a strange problem with DBRichViewEdit and styles.
On a DBCtrlGrid there is a DBRichViewEdit, two DBRichViewEdits are visible (Rowcount 2 in DBCtrlGrid)
In record 1 the text is default
In record 2, the text is
1 line smaller (with rvActionFontShrinkOnePoint)
2 line larger (with ...
On a DBCtrlGrid there is a DBRichViewEdit, two DBRichViewEdits are visible (Rowcount 2 in DBCtrlGrid)
In record 1 the text is default
In record 2, the text is
1 line smaller (with rvActionFontShrinkOnePoint)
2 line larger (with ...
- Mon Jul 20, 2015 2:18 pm
- Forum: Support
- Topic: remove 1 or more font styles from the set of styles
- Replies: 5
- Views: 25084
- Mon Sep 22, 2014 11:00 am
- Forum: Support
- Topic: Bug with bullets in rtf-files
- Replies: 4
- Views: 17711
- Thu Sep 18, 2014 9:46 am
- Forum: Support
- Topic: Bug with bullets in rtf-files
- Replies: 4
- Views: 17711
Bug with bullets in rtf-files
I think i have found a bug in the handling of bullets in rtf-files, i can reproduce it with the actual version of RichViewActionTest:
1. Make a new File, fill it with 3 lines, the first line must be so long that the editor must wrap the line:
aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa ...
1. Make a new File, fill it with 3 lines, the first line must be so long that the editor must wrap the line:
aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa ...
- Thu Jun 06, 2013 2:48 pm
- Forum: Support
- Topic: Replace color in all records fon a DBRichViewEdit
- Replies: 2
- Views: 12577
- Tue Jun 04, 2013 1:11 pm
- Forum: Support
- Topic: Replace color in all records fon a DBRichViewEdit
- Replies: 2
- Views: 12577
Replace color in all records fon a DBRichViewEdit
Hello,
i should replace a text-color with another color in all records for a DBRichViewEdit. The data is stored in RTF-format.
Here http://www.trichview.com/forums/viewtopic.php?t=612 is an example for changing the font-size globally, but i can't get it to work.
If i run my routine, nothing ...
i should replace a text-color with another color in all records for a DBRichViewEdit. The data is stored in RTF-format.
Here http://www.trichview.com/forums/viewtopic.php?t=612 is an example for changing the font-size globally, but i can't get it to work.
If i run my routine, nothing ...
- Thu Jul 05, 2012 11:40 am
- Forum: Support
- Topic: Problem with variables
- Replies: 20
- Views: 70614
- Thu Jun 28, 2012 3:22 pm
- Forum: Support
- Topic: Problem with variables
- Replies: 20
- Views: 70614
- Wed Jun 27, 2012 6:44 pm
- Forum: Support
- Topic: Problem with variables
- Replies: 20
- Views: 70614
- Fri Jul 09, 2010 2:18 pm
- Forum: Support
- Topic: Protect HTML-Tags at the converting RTF->HTML
- Replies: 4
- Views: 17634
- Mon Jul 05, 2010 5:30 pm
- Forum: Support
- Topic: Protect HTML-Tags at the converting RTF->HTML
- Replies: 4
- Views: 17634
- Thu May 20, 2010 5:34 pm
- Forum: Support
- Topic: Protect HTML-Tags at the converting RTF->HTML
- Replies: 4
- Views: 17634
Protect HTML-Tags at the converting RTF->HTML
My users enter text in a DBRichViewEdit which is stored in a database and then printed to a file as a part of a html-page.
For this, i convert the RTF to HTML with
function RTF2Html(rtf:string): string;
var Stream: TStringStream;
rv:TCustomRichView;
begin
rv:=TCustomRichView.Create(nil);
rv ...
For this, i convert the RTF to HTML with
function RTF2Html(rtf:string): string;
var Stream: TStringStream;
rv:TCustomRichView;
begin
rv:=TCustomRichView.Create(nil);
rv ...
- Wed May 12, 2010 12:33 pm
- Forum: Support
- Topic: Replacement for DBMemo.Font.Color / Visual disable Control?
- Replies: 3
- Views: 14127
- Wed May 12, 2010 10:05 am
- Forum: Support
- Topic: Replacement for DBMemo.Font.Color / Visual disable Control?
- Replies: 3
- Views: 14127
Replacement for DBMemo.Font.Color / Visual disable Control?
I'm using a DBRichViewEdit (as a replacement of a DBMemo) and some DBEdits on a DBCtrlGrid.
In some cases i must show the user that a data-record is disabled, so far i used the OnPaintPanel-Event of the DBCtrlGrid with
if (MyDBCtrlGrid.DataSource.DataSet.FieldByName('disabled').AsBoolean) then ...
In some cases i must show the user that a data-record is disabled, so far i used the OnPaintPanel-Event of the DBCtrlGrid with
if (MyDBCtrlGrid.DataSource.DataSet.FieldByName('disabled').AsBoolean) then ...