Search found 19 matches

by jfleming
Fri Jan 17, 2020 7:14 pm
Forum: Support
Topic: Optimum use of RichView Action List Editor
Replies: 5
Views: 23093

Re: Optimum use of RichView Action List Editor

> Check the type of TField object representing this CLOB field. > If this is TWideMemoField, it must contain Unicode (UTF-16, two bytes per character) data. > If this is TMemoField, it must contain ANSI (one byte per character) text. All CLOB fields are accessed through TMemoField objects. > Unless ...
by jfleming
Tue Jan 14, 2020 11:43 pm
Forum: Support
Topic: Optimum use of RichView Action List Editor
Replies: 5
Views: 23093

Re: Optimum use of RichView Action List Editor

Thanks for responding to my queries. Maybe I can remove some of the unknowns in my original post and code. 1: <RichEdit>.GetRTFText obtains the raw RTF as a string: function GetRTFText string; <RichEdit>.SetRTFText inserts raw RTF into the control: procedure SetRTFText (InsertText: string ...
by jfleming
Mon Jan 13, 2020 11:40 pm
Forum: Support
Topic: Optimum use of RichView Action List Editor
Replies: 5
Views: 23093

Optimum use of RichView Action List Editor

Using V15.3.2 in Delphi XE6. For my application using RTF text saved in a database BLOB field, I copied the Action List Editor and changed its Save method to return the modified RTF to the caller. I also modified the editor's OnShow event to load the caller-supplied initial RTF into the editor. The ...
by jfleming
Wed Mar 18, 2015 4:19 pm
Forum: Support
Topic: RichViewActions does not compile in Delphi XE6
Replies: 2
Views: 11782

Sergey,

Thanks. I've downloaded the 15.3.2 file.

--
JF
by jfleming
Wed Mar 18, 2015 10:40 am
Forum: Support
Topic: RichViewActions does not compile in Delphi XE6
Replies: 2
Views: 11782

RichViewActions does not compile in Delphi XE6

On 18 July last year I received from you an email containing the download links for RV14, the help and demo files and RichViewActions. When I try to install the latter in Delphi XE6 I get the following "file not found": RVFieldItems RVSideNote RVFloatingBox RVFloatingPos RVGrHandler For some reason ...
by jfleming
Thu Sep 06, 2012 8:36 am
Forum: Support
Topic: Superfluous \par directives in RTF ????
Replies: 3
Views: 14086

Thanks, Sergey. > If the ending \par is not included, MS Word ignores attributes of the last paragraph So, if I could strip away the \par just before that last \pard all should work OK ?? The RichText is coming from a database field and so cannot be accessed by Word. The only external representation ...
by jfleming
Wed Sep 05, 2012 10:11 pm
Forum: Support
Topic: Superfluous \par directives in RTF ????
Replies: 3
Views: 14086

Superfluous \par directives in RTF ????

Using TRichView V13.5 with Delphi XE2, all service packs. My program has the TRichView editor from one of your demo programs integrated and called by double-clicking on the field of a grid. When, in the editor, I type a single line of text: "just a test", and save it, the generated RTF code is as ...
by jfleming
Sun Nov 27, 2011 5:41 pm
Forum: Support
Topic: Unnecessary compiling of TRichView modules.
Replies: 5
Views: 15422

Sergey, Have just sent the missing dproj file. The described behaviour (unnecessary recompiles) is also seen by another, bigger, program of mine, but it does not create a sub-tree of folders with all dcus and the exe down in the tree -- it generates all dcus of my program in the project source ...
by jfleming
Fri Nov 25, 2011 9:53 pm
Forum: Support
Topic: Error creating form: Ancestor for TfrmRVBase not found
Replies: 3
Views: 13638

Yes, Sergey, you are right. It is happening because there are two warnings in module PageSetupRVForm, at lines 284 and 288: E1048: Unsafe typecast of 'TObject' to 'Integer' Code is as follows: 283 if GetXBoxItemIndex(_cmbSize)>=0 then begin 284 DevMode.dmPaperSize := Integer(GetXBoxObject(_cmbSize ...
by jfleming
Fri Nov 25, 2011 7:22 pm
Forum: Support
Topic: Error creating form: Ancestor for TfrmRVBase not found
Replies: 3
Views: 13638

Error creating form: Ancestor for TfrmRVBase not found

When I compile my program I get the following error message:

Error creating form: Ancestor for TfrmRVBase not found.

in module RichViewActions

What is causing this ???

What is the solution ???

JF
by jfleming
Sun Nov 13, 2011 7:01 pm
Forum: Support
Topic: RTF not formatted in RichView Editor
Replies: 5
Views: 20397

Final code to call Rich View Editor from RichText DblClick

This post is to feed back the final solution adopted, just in case it might be of use to others in the future. ; RTF text passed in to the editor as an AnsiString and the modified ; RTF text received out from the editor in the same way. ; Flag Text_Changed and string Text_In_RTF are fields of the ...
by jfleming
Thu Nov 10, 2011 1:03 am
Forum: Support
Topic: Unnecessary compiling of TRichView modules.
Replies: 5
Views: 15422

Have just sent an email with accompanying zip file. If you need any further data about my configuration, options or what have you, you need only ask.

Jim Fleming
by jfleming
Wed Nov 09, 2011 10:20 pm
Forum: Support
Topic: RTF not formatted in RichView Editor
Replies: 5
Views: 20397

I was able to get the full RTF text using TwwDBRichEdit.GetRTFText. Getting it from the database field would not capture any changes to the text that may have been made in the RichEdit and not yet been posted to the database. Users can make simple text changes directly on the RichEdit. Complex ...
by jfleming
Wed Nov 09, 2011 3:06 pm
Forum: Support
Topic: Unnecessary compiling of TRichView modules.
Replies: 5
Views: 15422

Sergey Tkachenko wrote:Please send me a sample project reproducing this problem (richviewgmailcom)
Will do, Sergey, but the other, RTF, problem is more urgent so will do this in the next few days.

Jim
by jfleming
Tue Nov 08, 2011 9:54 pm
Forum: Support
Topic: RTF not formatted in RichView Editor
Replies: 5
Views: 20397

Thanks, Sergey. It would seem that the RichText component Save to Stream is not saving the full database string anymore, which contains RTF code that starts: "{\rtf1\ansi\deff0{\fonttbl{\f0\fnil Arial;}{\f1\fnil\fcharset2 Symbol;}{\f2\fnil Courier New;}{\f3\fnil\fcharset0 Verdana;}} {\colortbl ...