trichview.com

trichview.support




Re: Detecting the items being deleted


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/10/2004 22:06:59


Use OnItemAction event.

When items are moved to undo list, ItemAction parameter =

rviaMovingToUndoList



>

> This is understood and this does not contradict to my view. Physically

items

> get moved to undo list, logically they are deleted (disappear from screen

> and from TRichViewEdit collections).

>

> Question remains: when and how I could detect (iterate or collect) which

> items were deleted (moved to undo list)?

>

> My motivation: I need this information to post-process deleted (moved to

> undo list) items, for example replace them with "default" values.

>

> > >

> > > Let's suppose user selects few items in RichViewEdit, then deletes

them

> > (by

> > > pressing VK_DELETE). Is there known way of detecting which items

exactly

> > > were deleted? I need at least a way to iterate through deleted items

> > (before

> > > or after deletion).

> >

>

> Thanks in advance, Andrew Chichlowski.

>

>





Powered by ABC Amber Outlook Express Converter