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
 ImageEnMView1.MultiSelectedImagesCount

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
John Posted - Mar 24 2012 : 20:54:31
Hello

If multiple images are selected with the shift key depressed, the ImageEnMView1.MultiSelectedImagesCount remains at 1 whereas the MulitSelectedImageCount is correct if only the Ctrl key is depressed and multiple images are selected. The value of the EnableMultiSelect does not effect the outcome.

This result is not logical from a "count" perspective and will require the end user to know this anomalous result. Does anyone know what the explanation for this behavior is?

TIA

John
4   L A T E S T    R E P L I E S    (Newest First)
John Posted - Mar 31 2012 : 13:05:09
Fabrizio

Thanks

I was incorrectly accessing the MultiSelectImageCount in the ImageEnMView1.OnImageSelect event rather than the OnKeyUp event.

TIA

John
fab Posted - Mar 27 2012 : 13:53:08
John,
handling OnImageSelect (just to know when actually user did selected images), you will see that MultiSelectedImagesCount increases by one for each selected image.
On mouse up, you should read the right value in MultiSelectedImagesCount.
If not, please let me know which properties you have changed in TImageEnMView from the defaults.
John Posted - Mar 27 2012 : 09:40:19
Fabrizio

I agree that the Ctrl key actions are correct. However, if the SHIFT key is held down and a range of images are selected with the mouse (i.e. click on image to start range and then click on another image to end the range) then the MultiSelectedImagesCount is not updated.

TIA

John
fab Posted - Mar 24 2012 : 23:35:13
Hello,
observing MultiSelectedImagesCount inside OnImageSelect it seems correct. I tried:
- CTRL and arrow keys: each time an arrow is pressed (and a new image is selected) MultiSelectedImagesCount increases by one
- CTRL and click: on mouse down (and a new image is selected) ultiSelectedImagesCount increases by one
- when CTRL is released MultiSelectedImagesCount doesn't change. This is ok, because there is no event in TImageEnMView that controls when CTRL is depressed.

I don't see unexpected behavior here.