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?
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 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.
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.