Search found 28 matches

by BennieC
Tue Jan 10, 2012 1:43 pm
Forum: Support
Topic: Adding special characters
Replies: 7
Views: 23552

Well there is some progress. I can add a new style consistently. The next problem is that, when I use aTRichview component to display the edited text, it does not recognise the same style. I then proceeded to save the style after creation in a ini file but finding the style in the saved file always ...
by BennieC
Mon Jan 09, 2012 12:51 pm
Forum: Support
Topic: Adding special characters
Replies: 7
Views: 23552

OK, I have tried setting the style and it does work. However, when adding my new style, using textstyles.add, how do I know what the index of the addition is. I tried to use .count, but there appears to be an offset of 2 ie count would say there are 8 styles, but styleno 10 is the one I added. Is ...
by BennieC
Fri Jan 06, 2012 10:55 am
Forum: Support
Topic: Adding special characters
Replies: 7
Views: 23552

Thanks. I am struggling to identify positions. I click in the document and use insertText(InsertedText,true) to place the reference text in the location. I now need to change the format of the reference text to superscript, red and hidden, but I can't locate the specific string. I assume I need to ...
by BennieC
Wed Jan 04, 2012 3:19 pm
Forum: Support
Topic: Adding special characters
Replies: 7
Views: 23552

Adding special characters

Hi, I wish to allow editors to add reference numbers to documents eg (123), in superscript and a special colour, at specific locations. However, I would like to have the ability to display or not display such numbers. Is there an easy way to do this or must the document be parsed fully to allow or ...
by BennieC
Tue Jan 03, 2012 6:23 pm
Forum: Support
Topic: Text display
Replies: 6
Views: 20019

Thanks Sergey, worked like a charm.
Is there anywhere I can get an overview of TRichview. I do not want to be an expert but apparently need a little more insight into its workings.
regards.
by BennieC
Mon Jan 02, 2012 8:10 am
Forum: Support
Topic: Text display
Replies: 6
Views: 20019

Hi, Sorry for the delay. I have managed to create a sample where I read memos from a file instead of the DB. It does illustrate the problem. I have attached all the sample text in the demo but need an e-mail address to send the file. (it's not very big about 300k)
Regards
by BennieC
Fri Dec 30, 2011 9:51 am
Forum: Support
Topic: Text display
Replies: 6
Views: 20019

Text display

Hi I am struggling to manage the way text is displayed. I have my DB with memos and when an aothor needs to edit these he does so separately using a TRichViewEdit component. The text is displayed properly here. However, when a Reader views the data it is concatenated (using AppendFrom) into a single ...
by BennieC
Thu Dec 29, 2011 6:18 pm
Forum: Support
Topic: Programmatically changing font and font size.
Replies: 11
Views: 52331

Using method 1
It appears that I have to format the RV object before selecting it. As it is only a temporary object it is not assigned to a form and hence the format method fails with 'Control has no parent window'. To what could I assign the parent to.
Bennie
by BennieC
Thu Dec 29, 2011 12:19 pm
Forum: Support
Topic: Programmatically changing font and font size.
Replies: 11
Views: 52331

Programmatically changing font and font size.

I am transferring data from a rtf database to a new db but using rvf format. I noticed that the previous data was not always using the same font. Is there programmatic way to select all the data, change the font and font size, before saving the data. I do not want to lose other formatting such as ...
by BennieC
Thu Dec 29, 2011 12:16 pm
Forum: Support
Topic: Struggling to convert RTF format into RVE
Replies: 4
Views: 20677

Hi, I finally managed to solve the problem although the solution does not explain the problem. I simply used a file instead of a stream to save the temporary data before passing it to the DB.
Since this is a once off operation while moving the data to its new DB the penalty is not severe.
Regards
by BennieC
Wed Dec 28, 2011 10:11 am
Forum: Support
Topic: Struggling to convert RTF format into RVE
Replies: 4
Views: 20677

Conversion

Hi, I have tried the suggestions (as shown) SQL.Clear; SQL.Add('UPDATE MEMOS SET MEMODATA = :MEMO' + ' WHERE SUBSPECIES_ID = ' + '''' + inttostr(SubSpeciesID) + '''' + ' AND MEMOTYPE = ' + '''' + MemoType + ''''); // I need to convert it to RVE here aRVEObject := TRichView.Create(AOwner); aRVEObject ...
by BennieC
Tue Dec 27, 2011 6:40 am
Forum: Support
Topic: Struggling to convert RTF format into RVE
Replies: 4
Views: 20677

Struggling to convert RTF format into RVE

Hi I have a lot of data in a db, stored in rtf memos. I wish to convert this to rve so that i can use a RV Editor in future. However I battle to do this conversion. The old data is stored in a Paradox Table with GenSQLQry do begin SQL.Clear; SQL.Add('UPDATE MEMOS SET MEMODATA = :MEMO' + ' WHERE ...
by BennieC
Wed Dec 07, 2011 3:19 pm
Forum: Support
Topic: Installation with RAD Studio XE2
Replies: 3
Views: 15519

Installation with XE2

Hi Sergey, Thanks, my first download did not have an XE2 folder Two more installation questions. 1. ErrorA Style Luna has not been registered 2. TRVRuler, TRVFontComboBox, etc not found. What should all be installed to make the transition. I essentially only use the basic Ribbon editor that you ...
by BennieC
Mon Dec 05, 2011 2:39 pm
Forum: Support
Topic: Installation with RAD Studio XE2
Replies: 3
Views: 15519

Installation with RAD Studio XE2

Hi, I have just installed RAD Studio XE2 but will run that in parallel with XE as I slowly move across. I am trying to install the trial version on XE2 but run in the following compile error when installing RVPkgDXE.bpl [DCC Fatal Error] RVPkgDXE.dpk(98): F2063 Could not compile used unit 'CRVData ...
by BennieC
Fri Jul 29, 2011 8:15 pm
Forum: Support
Topic: Empty RichView
Replies: 4
Views: 18254

Empty RichView

How can I determine if a Richview document is empty of any characters, excluding control characters. I need to know if there are any visible characters in a document. Checking for no characters may result in counting control characters.
Bennie