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
 TImageEnMView multiselect mouse drag problem
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

whisper1980

USA
83 Posts

Posted - Apr 02 2018 :  17:24:44  Show Profile  Reply
If I have a lot of images, I can drag the mouse to select multiple images, but this works only if you start selecting when the window is scrolled to the top. If I scroll the window down and try to multi-select with a mouse drag, the mouse drag starts to scroll the window instead of selecting.

Tested with both the Multi thumbnail demos along with setting the EnableMultiSelect option to true.

Note: I have been using the standard TListView and noticed a similar issue where if I start with the window scrolled down a bit and start drag selecting, it selects all the images and jump scrolls be me to the top. This is why I was looking at your TImageEnMView control.

Delphi 2007

Eric

whisper1980

USA
83 Posts

Posted - Apr 02 2018 :  19:03:56  Show Profile  Reply
My TListView problem is related to this Windows 10 update, so I'm wondering if it is related to TImageEnMView as well?

https://answers.microsoft.com/en-us/windows/forum/windows_10-security/important-syslistview32-bug-with-multiple-items/9e6198f7-a38a-4614-bc89-4781a9bde748?tm=1509985739913

Eric
Go to Top of Page

xequte

38182 Posts

Posted - Apr 03 2018 :  21:26:56  Show Profile  Reply
Hi

I cannot reproduce that in any of our Multi demos (such as https://www.imageen.com/files/demos/run/Multi/FolderMView/FolderMView.exe ).

Are you using 7.5.0? Is there other information I need.



Nigel
Xequte Software
www.imageen.com


PS The TListView issue is highly unlikely to be related.
Go to Top of Page

whisper1980

USA
83 Posts

Posted - Apr 13 2018 :  19:18:09  Show Profile  Reply
Hmmm... not sure why you cannot reproduce it. I was using 7.0.1 and updated to 7.5 and maybe is a little worse I can't remember. Anyway, two issues:

1) If starting at the top row, when dragging the mouse starting on the right side to select images, it does not select the ones on the first row left side (it starts to but when moving the mouse to the next row below, they get unselected). Starting from the left side, it is fine. This is not the way the Windows File Explorer selects, so it is non-standard IMHO.

2) The real issue, if you scroll down the list of images and start to drag select, it is fine until you drag to the next row where instead of selecting it scrolls the window.

I don't see how to attach a file, but I've uploaded a video which is using your Thumbnail demo compiled with Delphi 2007 running on Windows 10 (not running under the IDE, but it doesn't matter in any case). There is no audio, but hopefully you'll see both issues:
http://whispersolutions.com/downloads/ThumbnailMouseDragSelectProblem.mp4


Eric
Go to Top of Page

xequte

38182 Posts

Posted - Apr 22 2018 :  19:32:32  Show Profile  Reply
Hi

Can you clarify which of our demos you are using.


Also, accessing the file:

http://whispersolutions.com/downloads/ThumbnailMouseDragSelectProblem.mp4


Gives the error:

HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

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

whisper1980

USA
83 Posts

Posted - Apr 22 2018 :  20:13:10  Show Profile  Reply
I am so hating HostGator about now. I ask them to fix a problem with our webstats, and they break our test server and for some unknown reason removed the MP4 mime type I had them add a year ago. I zipped it up so try this link:
http://whispersolutions.com/downloads/ThumbnailMouseDragSelectProblem.zip

I tested with the Multi/Thumbnails demo (Thumbs.exe) on the video (after modifying the property to allow for multiple selection).

I also tried it with Multi/Thumbnail2 demo and shows the same issue.


Eric
Go to Top of Page

xequte

38182 Posts

Posted - Apr 22 2018 :  21:49:11  Show Profile  Reply
Thanks Eric

1) Please try:
ImageEnMView1.MultiSelectionOptions := ImageEnMView1.MultiSelectionOptions + [ iemoRegion ]


2) Please remove mmiScroll from ImageEnMView1.MouseInteract
(Not sure why it is used in the demos. I will remove it).

Also useful:
ImageEnMView1.TrackMouseSelection := true;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: