trichview.com

trichview.support




React on control deletion


Return to index


Author

Message

Christian Kirchhoff

Posted: 12/03/2002 22:39:31


Hallo,


I would like to react when the user deletes a TImage control within a RichViewEdit

component. I found a thread here where it is suggested to use the OnControlAction

event. I tried this, but when the user deletes the image (e.g. by placing

the caret behind the image and typing BACKSPACE) the OnControlAction event

is triggered with the ControlAction parameter set to rvcaMoveToUndoList.

But this ControlAction type can occur in many situations and does not necessaryly

mean that a control is deleted (at least to my knowledge). How can I determine

when a control is deleted?


Thanks in advance,


Christian Kirchhoff





Powered by ABC Amber Outlook Express Converter