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
 ImageENMView ImageIndex

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
mdgodfrey Posted - Jul 15 2013 : 12:51:52
I can see that I can find the current active image in the ImageENMView grid via the ImageSelect event but there doesn't seem to be a property to give me the same data.

Not sure why I have to have it the other way, it's just the way my mind works I guess.

Am I overlooking the property or it the ImageSelect idx parameter the only way to retrieve the active image index?
1   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Jul 15 2013 : 13:14:17
If ImageEnMView1.MultiSelect is False then
ImageEnMView1.SelectedImage returns the index of the selected image.
If ImageEnMView1.MultiSelect is true then the selected images are
var
  iSelectedIndex: integer; 
for i :=0 to ImageEnMView1.MultiSelectedImagesCount-1 do
begin
  iSelectedIndex := ImageEnMView1.MultiSelectedImages[i];
end;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html