Hello. I am storing data in a database about inserted images. I need to delete the record from the database when the user deletes the image from the text. How can I tell when the user deletes a particular image from the text?
I have tried adding:
txtObj.OnDestroy := DeleteImage;
when inserting the image into the richtext.
But that only works during that session of the program.
Any help appreciated.