Search found 21 matches

by Splinter
Mon Dec 09, 2024 6:41 pm
Forum: Support
Topic: SaveHTMLToStream and SaveTextToStream
Replies: 4
Views: 4816

Re: SaveHTMLToStream and SaveTextToStream

Doh, I should have thought of trying that. Thanks it worked.
by Splinter
Sat Dec 07, 2024 11:57 am
Forum: Support
Topic: SaveHTMLToStream and SaveTextToStream
Replies: 4
Views: 4816

Re: SaveHTMLToStream and SaveTextToStream

Great thanks Sergey, the exception errors have gone away with the addition of CP_UTF8. On a related note, when I use rve.SaveHTMLToStream(HTMLStream), and save to the database, and then a subsequent rve.LoadHTMLFromStream(HTMLStream, '', CP_UTF8) from the database, an extra line appears at the top ...
by Splinter
Fri Nov 29, 2024 11:51 am
Forum: Support
Topic: SaveHTMLToStream and SaveTextToStream
Replies: 4
Views: 4816

SaveHTMLToStream and SaveTextToStream

Hi Sergey, I am saving the RVE content to my database file as HTML, and that is working fine. However, I have another component on the form that displays a sub-set of the 'plain text' from the RVE. What is the correct way to extract the plain text? I tried creating a TextStream and use ...
by Splinter
Mon Nov 17, 2014 10:25 pm
Forum: Support
Topic: Ctrl+Del in RVE
Replies: 7
Views: 31999

Here you go, call the function DeleteToEndOfWord from your rve: Function TfmMain.DeleteToEndOfWord:boolean; var ItemNo, WordEnd, WordStart: Integer; s,s2: String; CodePage: TRVCodePage; rve1: TCustomRichViewEdit; begin rve1 := rve.TopLevelEditor; ItemNo := rve1.CurItemNo; WordEnd := rve1 ...
by Splinter
Wed Jun 08, 2011 11:02 pm
Forum: Support
Topic: table's line can't be print normally using RVPrint
Replies: 6
Views: 22408

Try this. In your code, add an additional call to 'RVPrint1.FormatPages(rvdoALL);' after the print dialog is executed, like this: if PrintDialog1.Execute then begin RVPrint1.FormatPages(rvdoALL); case PrintDialog1.PrintRange of prAllPages: RVPrint1.Print('µчІ¦µҐґтУЎ',PrintDialog1.Copies,PrintDialog1. ...
by Splinter
Thu Aug 26, 2010 4:32 pm
Forum: Support
Topic: Caret Color
Replies: 1
Views: 10688

Caret Color

Is there a simple way to change the color of the caret in TRichViewEdit. When the page background color is set to 50% gray the carat is invisible.

Thanks
by Splinter
Thu Sep 11, 2008 8:25 pm
Forum: Support
Topic: Pasting from RVF table to text
Replies: 3
Views: 15515

Unfortunately, saving multicell selection in text and RTF is not implemented yet, only in RVF. Ok. There is a difference in selecting the table as a whole item and in selecting all cells. In the first case, it should be saved in text or RTF. Yes, whole table selection copy and paste to RTF works ...
by Splinter
Thu Sep 11, 2008 10:14 am
Forum: Support
Topic: Pasting from RVF table to text
Replies: 3
Views: 15515

Pasting from RVF table to text

Hi, If I select a whole table in RVE and paste it into notepad the text is pasted but each cell text appears vertically down the notepad page, with new lines for each empty cell. If select part of a table in RVE, nothing is pasted into notepad at all. In MS Word pasting a table into notepad results ...
by Splinter
Tue May 01, 2007 8:46 pm
Forum: Support
Topic: Highlighting Text and Tags
Replies: 1
Views: 11022

Highlighting Text and Tags

Hi Sergey, I want to Mark searched for text in RV, so have used functions you've kindly provided here: http://www.trichview.com/forums/viewtopic.php?p=5184#5184 However, some of the text in my RV has tags assigned for hyperlink jump info, and if the Marked portion appears in the middle of that word ...
by Splinter
Sun Feb 11, 2007 10:09 pm
Forum: Support
Topic: Paste Format
Replies: 2
Views: 14155

Thanks. Works great :D
by Splinter
Fri Feb 09, 2007 9:41 pm
Forum: Support
Topic: Paste Format
Replies: 2
Views: 14155

Paste Format

Hi, Hope you can offer a suggestion on this one: Using copy and paste I would like to implement a 'paste format' option. So for example, if a section of text is highlighted in yellow a user could select it and choose copy, select another section of text, choose 'paste format' and that section of ...
by Splinter
Tue Dec 13, 2005 9:58 pm
Forum: Support
Topic: Index out of bounds exception
Replies: 4
Views: 21987

Works perfectly. Thanks. :mrgreen:
by Splinter
Mon Dec 12, 2005 11:11 pm
Forum: Support
Topic: Index out of bounds exception
Replies: 4
Views: 21987

Thanks Sergey, Yes in the cut-down app I emailed you, the exception does seem to be captured. However, I discovered this problem when in my main app the problem occured and in red letters in the top left corner of the RVE was the message 'Error: List index out of bounds (7)'. So I think in some ...
by Splinter
Sun Dec 11, 2005 8:14 pm
Forum: Support
Topic: Index out of bounds exception
Replies: 4
Views: 21987

Index out of bounds exception

Hi Sergey, I can consistently reproduce this error in RichViewEdit 1.9.15.1, Delphi 5 if you: type some text insert a table in the LAST cell of the table insert an animated gif image (using Anders component) type some text under the table Then, when you press backspace to delete the text, when you ...
by Splinter
Wed Nov 16, 2005 11:51 pm
Forum: Support
Topic: Saving Page Background
Replies: 4
Views: 22994

Any thoughts on this?
So how can I retrieve the RVE.Color of existing documents if rvfoLoadBack is set to false? If there is a way to do that it could solve my problem.
Thanks