Search found 87 matches

by Michel
Sun Mar 12, 2006 12:59 pm
Forum: Support
Topic: Steaming with Table Cells
Replies: 7
Views: 23293

There are some code snippets (and discussion) here: www.trichview.com/forums/viewtopic.php?t=236
HTH,
Michel
by Michel
Fri Feb 24, 2006 5:09 pm
Forum: Support
Topic: RichViewEdit.LoadRVFFromStream Fails (returns false)
Replies: 8
Views: 26214

Right you are, I haven't noticed, sorry!
by Michel
Fri Feb 24, 2006 2:41 pm
Forum: Support
Topic: Load RTF
Replies: 9
Views: 28131

Copy-and-paste from Help on TCustomRichView.LoadRTF: Appends contents of RTF (Rich Text Format) file FileName to the document. If you need to replace current contents with the contents of this file, call Clear method before loading. Maybe this is all you need? A note: an empty RichView[Edit] always ...
by Michel
Fri Feb 24, 2006 2:33 pm
Forum: Support
Topic: RichViewEdit.LoadRVFFromStream Fails (returns false)
Replies: 8
Views: 26214

Well, I think your stream is utterly empty when you try to load from it, so the failure feels like normal behavior. Opening a zero-size file would likely produce similar results (in just about anything other than Notepad). :wink:
Michel
by Michel
Sun Feb 12, 2006 8:25 pm
Forum: Support
Topic: Wrong Event Order Dropping Into Active Cell
Replies: 2
Views: 12093

Yep, I probably can. As to control over these events, I have an intuitive feeling that perhaps the out-of-order firing is caused by what RV code does when re-entering into an active InplaceEditor. I have no idea what this might be though. In my (limited) experience, something like an innocent Applic...
by Michel
Fri Feb 10, 2006 9:12 pm
Forum: Support
Topic: Wrong Event Order Dropping Into Active Cell
Replies: 2
Views: 12093

Wrong Event Order Dropping Into Active Cell

Hi Sergey, Summary of the problem. Drag-and-drop an object (B) into a TRichViewEdit (RV). If dropped into text or an inactive cell of a table, the order of events is: RV.OnDragDrop followed by B.OnEndDrag (which seems to be the correct order). If dropped into active cell, the order of events is reve...
by Michel
Wed Dec 21, 2005 2:18 pm
Forum: Support
Topic: ItemHint Not Changing
Replies: 2
Views: 12655

It's either just 1.9 or 1.9.0.1. (Definitely not very recent). If you can't reproduce it, maybe you have already fixed it, so all the better!
by Michel
Tue Dec 13, 2005 4:42 pm
Forum: Support
Topic: Unqualified URLs and Import from RTF
Replies: 4
Views: 16900

Ok, that BasePathLinks option is then probably all I need! :D

Thanks,

Michel
by Michel
Tue Dec 13, 2005 12:49 pm
Forum: Support
Topic: Unqualified URLs and Import from RTF
Replies: 4
Views: 16900

It is a feature I was afraid you'd say that. However, I don't quite understand the relevance of your example. I mean, what you said about uploading an HTML file is fine, except that my problem feels to me equivalent to you uploading "www.google.com" and the actual uploaded file ends up on...
by Michel
Mon Dec 12, 2005 8:49 pm
Forum: Support
Topic: ItemHint Not Changing
Replies: 2
Views: 12655

ItemHint Not Changing

Hi Sergey, If I have 2 directly adjacent Hyperlinks (actually, this applies to any Items), for example, one directly above the other on 2 lines, and if I have rvoShowItemHints in Options, and OnItemHint() event handler set up: If, once the Hint appears for the first Item, I move the mouse so that th...
by Michel
Mon Dec 12, 2005 8:43 pm
Forum: Support
Topic: Unqualified URLs and Import from RTF
Replies: 4
Views: 16900

Unqualified URLs and Import from RTF

Hi Sergey, Let's say I have an RTF file with 2 hyperlinks that have the following target URLs: http://www.google.com www.google.com The relevant portion of the RTF file looks like this: \pard\fi0\li0\ql\ri0\sb0\sa0\itap0 {\field{\*\fldinst HYPERLINK "http://www.google.com"}{\fldrslt \plain...
by Michel
Sun Dec 11, 2005 9:25 pm
Forum: Support
Topic: No OnCurTextStyleChanged() if rvprDoNotAutoSwitch
Replies: 4
Views: 17679

Oh, I see... I understand now. I was misinterpreting the meaning of CurTextStyleNo and for once didn't fully read the Help :).

Thank you for clearing this up for me,

Michel
by Michel
Sat Dec 10, 2005 8:31 pm
Forum: Support
Topic: cloning and finding EOLs
Replies: 8
Views: 25077

Hi David, Streaming most certainly can accomplish what you want. Could your problem be related to styles not being added properly? Specifically, perhaps RVFTextStylesReadMode is not rvf_sInsertMerge in your case? Assuming you are using 2 different RVStyle components, that is. See if it's something l...
by Michel
Sat Dec 10, 2005 7:45 pm
Forum: Support
Topic: cloning and finding EOLs
Replies: 8
Views: 25077

Take a look at SaveRVFToStream() and related functions. A search for this (or some related) function names on this forum should turn up a few threads.
Basically, stream RV_A to a stream; "rewind" the stream (Position := 0); stream it into RV_B.

HTH,

Michel
by Michel
Sat Dec 10, 2005 7:35 pm
Forum: Support
Topic: No OnCurTextStyleChanged() if rvprDoNotAutoSwitch
Replies: 4
Views: 17679

If text has a Style with Protection rvprDoNotAutoSwitch, OnCurTextStyleChanged() event does not fire when getting into or out of such text. OnCurTextStyleChanged occurs when, well, the current text style (CurTextStyleNo property) is changed. No change - no event. I think I wasn't clear enough when ...