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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Want some hints and ideas
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
730 Posts

Posted - Nov 03 2015 :  07:32:32  Show Profile  Reply
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

xequte

39088 Posts

Posted - Nov 03 2015 :  14:09:33  Show Profile  Reply
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
Go to Top of Page

yogiyang

India
730 Posts

Posted - Nov 03 2015 :  22:04:26  Show Profile  Reply
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
Go to Top of Page

xequte

39088 Posts

Posted - Nov 04 2015 :  02:44:37  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: