Search found 15 matches

by MLefebvre
Fri Sep 01, 2006 6:13 pm
Forum: Support
Topic: "Control has no parent window" message
Replies: 6
Views: 28112

FYI : I think I have had a similar problem once, and solved it (without analysing that in depth, actually) by moving the RV setup code from the initialization section to some form startup event, where the form already exists. It seems that it is required by RV, when creating the RVE or maybe when ...
by MLefebvre
Thu Aug 31, 2006 12:40 pm
Forum: Support
Topic: CaretMove problem
Replies: 4
Views: 17438

Sergey, not sure I understand your answer. As far as I understand the initial post, the issue is not related to tables. It applies to plain-text paragraphs : to have the caret back to initial position (horizontally) when you issue a <Down, Up> or <Up, Down> key sequence, even though the caret has ...
by MLefebvre
Tue Aug 29, 2006 12:57 pm
Forum: Support
Topic: Printing Problem with tables!
Replies: 47
Views: 168939

Sergey, could you take a COMMITMENT now on this issue ? I would appreciate that, some strategic decisions are pending and cannot be delayed any longer. Please let us at last see something, at the planned date, even though it is still a beta with identified bugs and lacks and with planned complements ...
by MLefebvre
Thu Jun 29, 2006 8:55 am
Forum: Support
Topic: Printing Problem with tables!
Replies: 47
Views: 168939

To Softtouch : We all agree that it is highly suitable that RV can print table rows larger than 1-page height, even though this is probably required only in exceptional cases. I do expect it to be available soon , but let's also understand that it may be quite a complex issue. In addition, RV ...
by MLefebvre
Wed Jun 21, 2006 6:31 am
Forum: Support
Topic: Printing Problem with tables!
Replies: 47
Views: 168939

I would not say that. Really.
Yet, Sergey, time is passing ... Did you give up ?
by MLefebvre
Sat Jun 17, 2006 8:10 am
Forum: Support
Topic: TRichViewEdit as a single line edit box
Replies: 5
Views: 20137

FYI : I have been fighting this (small) problem for hours ... Finally found 2 ideas, maybe one of them is suffcient :
- Setting RV.ClientHeight to DocumentHeight+VSmallStep+1
- Adding RV.ScrollTo(0) in various events (key handler, OnChange). In your case, maybe you could use the OnCaretGetOut event.
by MLefebvre
Wed May 10, 2006 5:46 am
Forum: Support
Topic: How can I insert a OLE Object in TRichviewedit?
Replies: 2
Views: 14157

You can use a TOleContainer, and simply insert it with method InsertControl. A few extra things to be done to handle resizing properly, but basically, it works. I beleive that there is a demo that shows all that.
by MLefebvre
Mon Apr 03, 2006 6:59 am
Forum: Support
Topic: separating paragraphs
Replies: 11
Views: 37861

ParaNo is not the paragraph number in the document, it is the index of the paragraph style that applies to the considered RV item. Anyway I apologize, OnDrawParaBack is not the solution by itself, since it gives no information on the source item being drawn. Here is what I can suggest : - Define a ...
by MLefebvre
Sat Apr 01, 2006 9:05 am
Forum: Support
Topic: Convert plain text to table
Replies: 2
Views: 13387

Tables in TRV are static text tables (collection of rows and cells), with no relationship at all to database tables. A RV Table is a special type of RV item in which, after having created it and added it into the main TRichView, you can add text in each cell as you would do for the main TRV. Just ...
by MLefebvre
Thu Mar 30, 2006 5:15 am
Forum: Support
Topic: separating paragraphs
Replies: 11
Views: 37861

Few (alternative) suggestions : 1/ If your need is only at visual level, you might use the RVStyle.OnDrawStyleText / OnDrawParaBack events, to draw an additional horizontal line after the first paragraph whatever it is. To find the end of 1st paragraph, just loop on RV items and check IsParaStart(i ...
by MLefebvre
Fri Mar 24, 2006 6:46 pm
Forum: Support
Topic: Is it ok to use "StyleTemplateId"
Replies: 4
Views: 18219

Hanno,
I think that you should avoid using this property now, RV is preparing something great to handle style families, and given its name this property is certainly dedicated to that ...
by MLefebvre
Tue Feb 07, 2006 7:19 pm
Forum: Support
Topic: How to export OLE objects from TRichViewEdit to a .rtf file.
Replies: 10
Views: 56128

Well, actually I work with the default value for RichViewPixelsPerInch (=0), so it should make no difference. It might be depending on the way the resizing is handled within RV. In my case I just let RV do the job, by allowing the RV item to be resized and setting the sizemode of the TOleContainer ...
by MLefebvre
Tue Feb 07, 2006 11:05 am
Forum: Support
Topic: How to export OLE objects from TRichViewEdit to a .rtf file.
Replies: 10
Views: 56128

Hi, David I have tried your code to save a RV-embedded object (via TOleContainer) to RTF, and this works fine. (note that one must "use" ActiveX, ComObj and RVFuncs to compile ok). Yet there is a problem with the visual size of the result in RTF : when opened with MS-Word (2000), it seems about 60 ...
by MLefebvre
Fri Nov 25, 2005 7:31 am
Forum: Support
Topic: OpenDocument support
Replies: 17
Views: 67906

A lucky star for your son, Rob. As for OpenDocument, my needs would be : - Exporting from RV component to OpenDocument file or stream (equivalent of SaveRTF) - Pasting from OpenDocument clipboard into RV component (equivalent of PasteRTF) - All of that being fully integrated into my app (no DLL ...
by MLefebvre
Fri Sep 02, 2005 5:29 pm
Forum: Support
Topic: Hide rows/columns/cells
Replies: 5
Views: 22026

As far as I know, this is not possible.
Not yet, I hope, since this is a feature that I would be very interested in. But so far Sergey did not let much hope about it...