Search found 100 matches

by vit
Wed Oct 06, 2010 7:55 am
Forum: Support
Topic: Using of OnCut event
Replies: 2
Views: 10465

because Cut = Copy + Delete If I understood you right, I can use OnItemAction to detect deletion action. So I can detect cutting action by determination this actions sequence: 1. OnCopy event is fired 2. OnItemAction is fired with ItemAction = rviaTextModifying or rviaMovingToUndoList Or may be the...
by vit
Tue Oct 05, 2010 10:12 am
Forum: Support
Topic: Using of OnCut event
Replies: 2
Views: 10465

Using of OnCut event

There is TRichViewEdit.OnCut event. But it is disabled by RVONCUT directive, wich is disabled by default. Can I enable RVONCUT in RV_Defs.inc to use OnCut event?

Thank you!
by vit
Wed Sep 29, 2010 7:57 am
Forum: Support
Topic: Drawing in TSRichViewEdit
Replies: 10
Views: 32220

I think we should disable SRVDEBUG directive in SRV_Defs.inc
by vit
Tue Sep 21, 2010 2:09 pm
Forum: Support
Topic: Delete items cascade
Replies: 2
Views: 10986

Thank you! It's works fine!
by vit
Tue Sep 21, 2010 11:54 am
Forum: Support
Topic: Delete items cascade
Replies: 2
Views: 10986

Delete items cascade

Is need to delete several items (defined by tags) when user deletes some item with specified tag. Seems like I can't use OnItemAction event: procedure TForm1.OnItemAction(Sender: TCustomRichView; ItemAction: TRVItemAction; Item: TCustomRVItemInfo; var Text: TRVRawByteString; RVData: TCustomRVData); ...
by vit
Tue Sep 21, 2010 6:48 am
Forum: Support
Topic: Drawing in TSRichViewEdit
Replies: 10
Views: 32220

How I can draw rectangles in table inplace editor? Should I use it OnPaint event or something else?
by vit
Fri Sep 17, 2010 2:38 pm
Forum: Support
Topic: Drawing in TSRichViewEdit
Replies: 10
Views: 32220

100 at the end of the method means that coordinates are calculated in 100% zoom. Will this code work correctly with any zoom? function GetItemRect(ItemNo: Integer; RVData: TCustomRVFormattedData): TRect; var FirstPageNo: Integer; LastPageNo: Integer; PageRect: TRect; begin srve.GetItemPages(RVData,...
by vit
Fri Sep 17, 2010 1:27 pm
Forum: Support
Topic: Drawing in TSRichViewEdit
Replies: 10
Views: 32220

use the ConvertRVtoSRV (p: TPoint): TPoint; converts the coordinates of the RV in the coordinates of the SRV. or function (see their description in help): procedure GetItemCoords100 (RVData: TCustomRVFormattedData; ItemNo: Integer; var ALeft, ATop: Integer; var PageNo: Integer); procedure GetItemBo...
by vit
Fri Sep 17, 2010 8:05 am
Forum: Support
Topic: Drawing in TSRichViewEdit
Replies: 10
Views: 32220

Drawing in TSRichViewEdit

Hi! I want to draw rectangle around items in TSRichViewEdit with specified tags. How I can do this? I know how to find items by tags in SRVE, I can't understand how calculate items coordinates in Canvas (I use OnPaint event). P.S. is needed account for that items can be placed in tables cells. Thank...
by vit
Thu Sep 16, 2010 9:41 am
Forum: Support
Topic: SRichViewEdit & FastMM4
Replies: 9
Views: 26050

No, this works worse. I need note that test application wich I sent you is not pretty correspond to my application wich I develop. SRVEMemoryCrash start work fine when I updated components and changed code as you said first. But my main application still generating exception. And when I change code ...
by vit
Wed Sep 15, 2010 7:47 am
Forum: Support
Topic: SRichViewEdit & FastMM4
Replies: 9
Views: 26050

no, this is not helps. But it seems like exception only raised in my machine and under my virtual PC image. So it is not critical since we use FastMM only for debug purposes.

P.S. we always use explicit thread destroying as you say in last post. Becouse it helps to fix errors in spell checking.
by vit
Wed Sep 08, 2010 8:20 am
Forum: Support
Topic: SRichViewEdit & FastMM4
Replies: 9
Views: 26050

Sorry, we cannot reproduce it. We tried in D5,6,7,2007, no crashes. May be your application is still compiled with old files? Did you delete old versions when installing new versions of controls? Yes, I have delete all files of old versions. I click several times to add/del buttons and once when I ...
by vit
Tue Sep 07, 2010 6:56 am
Forum: Support
Topic: SRichViewEdit & FastMM4
Replies: 9
Views: 26050

I have update ScaleRichView to v3.5, RichViewEdit - to 12.5.2 and RV Actions to 2.2.2 and the error still appear.
by vit
Mon Sep 06, 2010 3:05 pm
Forum: Support
Topic: SRichViewEdit & FastMM4
Replies: 9
Views: 26050

SRichViewEdit & FastMM4

Hi! I try to implement some application using SRichViewEdit but FastMM4 has detected memory using troubles. In general application represents form with TPageControls and two buttons - "Add" and "Delete". When user push "Add" button the new page with TMyFrame is added to...
by vit
Wed Jun 30, 2010 6:32 am
Forum: Support
Topic: Exceptions with spell checking
Replies: 12
Views: 31134

I think you should ignore my last post. This report generated by FastMM right before EOutOfMemory exception is throwed. It's seems like there is no available memory to create new thread.