There are some code snippets (and discussion) here: www.trichview.com/forums/viewtopic.php?t=236
HTH,
Michel
Search found 87 matches
- Sun Mar 12, 2006 12:59 pm
- Forum: Support
- Topic: Steaming with Table Cells
- Replies: 7
- Views: 23293
- Fri Feb 24, 2006 5:09 pm
- Forum: Support
- Topic: RichViewEdit.LoadRVFFromStream Fails (returns false)
- Replies: 8
- Views: 26214
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 ...
- Fri Feb 24, 2006 2:33 pm
- Forum: Support
- Topic: RichViewEdit.LoadRVFFromStream Fails (returns false)
- Replies: 8
- Views: 26214
- 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...
- 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...
- Wed Dec 21, 2005 2:18 pm
- Forum: Support
- Topic: ItemHint Not Changing
- Replies: 2
- Views: 12655
- Tue Dec 13, 2005 4:42 pm
- Forum: Support
- Topic: Unqualified URLs and Import from RTF
- Replies: 4
- Views: 16900
- Tue Dec 13, 2005 12:49 pm
- Forum: Support
- Topic: Unqualified URLs and Import from RTF
- Replies: 4
- Views: 16900
- 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...
- 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...
- Sun Dec 11, 2005 9:25 pm
- Forum: Support
- Topic: No OnCurTextStyleChanged() if rvprDoNotAutoSwitch
- Replies: 4
- Views: 17679
- 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...
- Sat Dec 10, 2005 7:45 pm
- Forum: Support
- Topic: cloning and finding EOLs
- Replies: 8
- Views: 25077
- 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 ...