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: 9361
Cursor in text with rvprDoNotAutoSwitch in his protection
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 ...
- Fri Mar 16, 2018 1:19 pm
- Forum: Support
- Topic: Problem with DBRichViewEdit and Textstyle
- Replies: 1
- Views: 10447
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 ...
- Mon Jul 20, 2015 2:18 pm
- Forum: Support
- Topic: remove 1 or more font styles from the set of styles
- Replies: 5
- Views: 24179
- Mon Sep 22, 2014 11:00 am
- Forum: Support
- Topic: Bug with bullets in rtf-files
- Replies: 4
- Views: 17357
- Thu Sep 18, 2014 9:46 am
- Forum: Support
- Topic: Bug with bullets in rtf-files
- Replies: 4
- Views: 17357
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 ...
- Thu Jun 06, 2013 2:48 pm
- Forum: Support
- Topic: Replace color in all records fon a DBRichViewEdit
- Replies: 2
- Views: 12316
- Tue Jun 04, 2013 1:11 pm
- Forum: Support
- Topic: Replace color in all records fon a DBRichViewEdit
- Replies: 2
- Views: 12316
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 happens ...
- Thu Jul 05, 2012 11:40 am
- Forum: Support
- Topic: Problem with variables
- Replies: 20
- Views: 66439
- Thu Jun 28, 2012 3:22 pm
- Forum: Support
- Topic: Problem with variables
- Replies: 20
- Views: 66439
- Wed Jun 27, 2012 6:44 pm
- Forum: Support
- Topic: Problem with variables
- Replies: 20
- Views: 66439
Hello, But if using RTF is important, I can create a procedure for applying protection to text inside {}. did you ever wrote that procedure? ... because i have the same problem :-) TDBRichViewEdit with saving as RTF in the Database (because of RTF2HTML-converting later) and i must insert and protect ...
- Fri Jul 09, 2010 2:18 pm
- Forum: Support
- Topic: Protect HTML-Tags at the converting RTF->HTML
- Replies: 4
- Views: 17121
- Mon Jul 05, 2010 5:30 pm
- Forum: Support
- Topic: Protect HTML-Tags at the converting RTF->HTML
- Replies: 4
- Views: 17121
Hello Sergey, i've tried so, but i get a problem with my code, when i loop over the TextStyles to set +[rvteoHTMLCode] it clears my DBRichViewEdit after the first run. The code is procedure TMainForm.SpeedButtonTest2Click(Sender: TObject); var i: Integer; Stream: TStringStream; rv:TCustomRichView ...
- Thu May 20, 2010 5:34 pm
- Forum: Support
- Topic: Protect HTML-Tags at the converting RTF->HTML
- Replies: 4
- Views: 17121
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.Style ...
- Wed May 12, 2010 12:33 pm
- Forum: Support
- Topic: Replacement for DBMemo.Font.Color / Visual disable Control?
- Replies: 3
- Views: 13778
- Wed May 12, 2010 10:05 am
- Forum: Support
- Topic: Replacement for DBMemo.Font.Color / Visual disable Control?
- Replies: 3
- Views: 13778
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 begin ...