Persistent Reference to an Image

General TRichView support forum. Please post your questions here
Post Reply
Mark Andrews
Posts: 1
Joined: Tue Mar 13, 2012 5:08 am
Location: Auckland, New Zealand
Contact:

Persistent Reference to an Image

Post by Mark Andrews »

I have a TRichViewEdit that contains an invisible table with multiple cells. Two of the cells each contain an image and I'd like to do the following:

When the user resizes the image in one cell it causes the image in the other cell to automatically resize.

It seems I could do this easily if I could obtain a persistent reference to each image at the time they are pasted or inserted.

Is such a thing possible or can anyone recommend an alternative?
Sergey Tkachenko
Site Admin
Posts: 17572
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

For example, you can assign an unique identifier to the image item text, and search the image by its identifier... Would this solution be ok?
But I do not understand how you want to define these images, if they can be either inserted or pasted...
Post Reply