Search found 100 matches

by vit
Mon Apr 18, 2011 12:36 pm
Forum: Support
Topic: Loading of RTF causes an exception
Replies: 2
Views: 10716

Loading of RTF causes an exception

Hi! I try loading RTF into TSRichViewEdit. And I receive an exception in TSRichViewEdit.HookAfterReadNote: --------------------------- Debugger Exception Notification --------------------------- Project Project1.exe raised exception class EListError with message 'List index out of bounds (16)'. Proc...
by vit
Fri Jan 14, 2011 6:00 am
Forum: Support
Topic: Drawing text in table
Replies: 1
Views: 8644

Drawing text in table

Hi! I have a problem with text in tables. First I compiled ActionTest using ScaleRichView 3.7 and RichViewEdit 12.7. Then I ran it and cleaned all content. After that I added a table 3x2. I made first column narrow and a font size large. Then I started input a text in the cell (0, 0). When a height ...
by vit
Tue Nov 16, 2010 8:35 am
Forum: Support
Topic: Using GetItemPages for TRVTableItemInfo
Replies: 1
Views: 8510

Using GetItemPages for TRVTableItemInfo

Hi! Method GetItemPages works fine when I try to receive pages where text item placed. But if Item is a TRVTableItemInfo and some rows placed on Page1 and some on Page2 then GetItemPages will return FirstPageNo = LastPageNo = Page1 for this Item. Is it a bug, or I should get page numbers for TRVTabl...
by vit
Fri Nov 05, 2010 7:47 am
Forum: Support
Topic: Call GetSelectionBounds from OnItemAction
Replies: 5
Views: 15704

Ok. I'm going to do the next. 1. When ItemAction = rviaInserting in OnItemAction event handler I will put Item into the TObjectList. Then I will post some message to the form. 2. Also I will add item deletion processing to OnItemAction to exclude item from TObjectList. 3. In message handler I will g...
by vit
Wed Nov 03, 2010 4:28 am
Forum: Support
Topic: TSRichViewEdit & FastMM4 again :)
Replies: 4
Views: 13134

Sergey Tkachenko wrote:it looks like the problem is in the ruler.
Yes, in one of my post http://www.trichview.com/forums/viewtopic.php?t=4111 I wrote that error disappeared when I deleted horizontal ruler.

Sergey Tkachenko wrote:It will be fixed in the next update.
Could you please notify us here about this?
by vit
Fri Oct 29, 2010 1:47 pm
Forum: Support
Topic: TSRichViewEdit & FastMM4 again :)
Replies: 4
Views: 13134

TSRichViewEdit & FastMM4 again :)

Sorry, but I have exception with using SRVE & FastMM again. At this time it's occures in different machines. Please try to do this steps: 1. Open project \srv_demos\Demos\ActionTest\ 2. Add FastMM4 to project: uses FastMM4, /// <======= Forms, dmActionsSRV in 'dmActionsSRV.pas' {srvActionsResour...
by vit
Fri Oct 29, 2010 10:49 am
Forum: Support
Topic: Call GetSelectionBounds from OnItemAction
Replies: 5
Views: 15704

Sergey Tkachenko wrote:document can be unformatted and even half-created.
I guess that doc can be half-created while it is loading? Or not only?
by vit
Wed Oct 27, 2010 10:17 am
Forum: Support
Topic: Call GetSelectionBounds from OnItemAction
Replies: 5
Views: 15704

Call GetSelectionBounds from OnItemAction

Hi!

Sometimes I get exception when I try to call GetSelectionBounds from OnItemAction event handler. So I have 2 questions:

1. It is allowably to call GetSelectionBounds from OnItemAction?
2. How can I determine is document formatted?

Thank you!
by vit
Sun Oct 24, 2010 8:09 am
Forum: Support
Topic: Mistake in help?
Replies: 1
Views: 9019

Mistake in help?

In TCustomRichView.GetSelectionBounds:
The selection is empty if
* StartItemNo=-1 or
* - StartItemNo=EndItemNo and StartItemOffs=EndItemOffs.
by vit
Mon Oct 11, 2010 9:24 am
Forum: Support
Topic: Substitute RichViewEdit in TSRichViewEdit
Replies: 7
Views: 23425

When I do it in designtime all works fine. But in runtime SRVE looks like this: http://www.imageup.ru/img128/externalrv448590.png It seems like RVE was placed at left field of page. There is the code: procedure TForm1.FormCreate(Sender: TObject); var RVE: TRichViewEdit; begin RVE := TMyRVE.Create(SR...
by vit
Mon Oct 11, 2010 6:56 am
Forum: Support
Topic: Substitute RichViewEdit in TSRichViewEdit
Replies: 7
Views: 23425

Thank you for answer. First, using external TRichViewEdit. It must be placed on a form, but should be hidden. This external editor can be used instead of the build-in editor. There is one strange thing. When I did this: 1. Added TSRichViewEdit on the form (SRVE) 2. Added TRVStyle on the form (RVS) 3...
by vit
Fri Oct 08, 2010 10:50 am
Forum: Support
Topic: Substitute RichViewEdit in TSRichViewEdit
Replies: 7
Views: 23425

Or if it is impossible may be there is a way to substitute RVData of TRichViewEdit? Becouse it also contains virtual methods wich I whant override.
by vit
Fri Oct 08, 2010 9:12 am
Forum: Support
Topic: Substitute RichViewEdit in TSRichViewEdit
Replies: 7
Views: 23425

Ok, I found now \Demos\Basic Demos\External RichView

As I see ExternalRV is not for substituting of editors of TSRichViewEdit... And is no other ways to substitute TSRichViewEdit? I mean that new RVE should be inside TSRichViewEdit instead of usual RichViewEdit, not somewhere at the side..
by vit
Fri Oct 08, 2010 8:19 am
Forum: Support
Topic: Substitute RichViewEdit in TSRichViewEdit
Replies: 7
Views: 23425

Substitute RichViewEdit in TSRichViewEdit

Hi! I whant write descendant to TRichViewEdit and override several methods. And futher I'm going to substitute standart TRichViewEdit by it in TSRichViewEdit. Can I use ExternalRV property for this purpose? I can't understand how exactly use it. Wich properties of external RVE I should set? Example ...
by vit
Thu Oct 07, 2010 10:39 am
Forum: Support
Topic: Processing OleDragDrop
Replies: 1
Views: 9040

Processing OleDragDrop

Hi! When user drags text from one place of document to another I whant to known what exactly he drags. I whant to analyse content and probably modify them before insert. It is important that I whant analyse exactly content in RVF format. So I get as base this http://www.trichview.com/forums/viewtopi...