I am using IEMulti for showing thumbnails of multiple images in user selected folder.
The user want to be able to add remarks to each image. For this I will have to show an Edit control under each image. Any ideas as to how to achieve this?
It should be achievable by putting a TEdit under the thumbnail when the user intiates text editing.
Off the top of my head: - You may want to custom draw the cell to show that the "remark" area is editable - Ensure when the mouse is over the edit area the cursor changes to crIBeam - Initiate editing on MouseDown/MouseUp (you will need to test which works best) - Finalize/Cancel editing on VK_ENTER, VK_ESC, mouse click, etc. Yout will also need to be aware of scrolling, mouse wheel, etc.
At present what I have worked out is building a string array based on number of thumbnails loaded and when a user wants to add a remark to an image he/she will have to double click on an image and a Remarks window will popup and user can enter remark in it and it will get stored in an array and once the user has completed work can slick on save button to save all remarks to a file against each file name.
Cool, but if the text is to be displayed then you don't need your own array, you can use the one of the string properties of the images in the TImageEnMView, such as: