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
 Adding an object with each image to TImageEnMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Saeid2019

7 Posts

Posted - Mar 02 2020 :  12:32:05  Show Profile  Reply
Hello,
When we want to add some images to TImageEnMView using AppendImage or InsertImage or other methods, Is it possible to add an object with each image to TImageEnMView? For example the Delphi TComboBox has AddItem(Item : string; AObject: TObject) method that adds an object with each item. Is it possible to do like this in TImageEnMView?

More explanation: I want to add the cover image of some books to TImageEnMView with any data for each image like book name, bookID, etc and use from this data in any operation. Is it possible?

xequte

38217 Posts

Posted - Mar 02 2020 :  14:15:09  Show Profile  Reply
Hi

You can use:

https://www.imageen.com/help/TImageEnMView.ImageUserPointer.html

Or use the Tag property to reference an index to data stored elsewhere.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Saeid2019

7 Posts

Posted - Mar 02 2020 :  16:05:14  Show Profile  Reply
Thanks a lot.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: