ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Want some hints and ideas

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Nov 03 2015 : 07:32:32
Hello,

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?

TIA



Yogi Yang
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 04 2015 : 02:44:37
Hi Yogi

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:

http://www.imageen.com/help/TImageEnMView.ImageInfoText.html


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
yogiyang Posted - Nov 03 2015 : 22:04:26
Nigel,
Thank you for your inputs.

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.

I hope I am going in the right direction.

TIA



Yogi Yang
xequte Posted - Nov 03 2015 : 14:09:33
Hi Yogi

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.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com