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 dragmode automatic
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

whisper1980

USA
88 Posts

Posted - May 22 2018 :  21:04:08  Show Profile  Reply
Seems like if the drag mode for the TImageEnMView is set to dmAutomatic, I cannot select a different thumbnail to drag since it seems to start the drag operation on mouse down instead of on mouse move as with other controls like TListView.

Am I missing a setting somewhere?


Eric

xequte

39142 Posts

Posted - May 23 2018 :  06:15:44  Show Profile  Reply
Hi Eric

Have you tried the DragDrop demos:

- Demos\Multi\DragDrop_MultiView\TImageEnMView_DragDrop.dpr
- Demos\Multi\Multiview2\Multiview2.dpr

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

whisper1980

USA
88 Posts

Posted - May 23 2018 :  16:40:36  Show Profile  Reply
Yes, but those have the drag mode set to manual, requiring having to add code to the mouse move event. Usually one does not need to do that and instead simply set the drag mode to automatic as in the case with TListView.

Eric

P.S. 2nd example mentioned does not even have drag that I see.
Go to Top of Page

xequte

39142 Posts

Posted - May 23 2018 :  17:09:46  Show Profile  Reply
Hi Eric

Unfortunately because of some special handling needed by MView, dmAutomatic is not supported.

The correct list of demos should be:

\Demos\Multi\DragDrop_MultiView2\Multiview2.dpr
\Demos\Multi\DragDrop_MultiView\TImageEnMView_DD.dpr
\Demos\LayerEditing\DragDropLayers\Layers_DragDrop.dpr
\Demos\Multi\DragDrop_FileList_2\TImageEnMView_FileList.dpr

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

whisper1980

USA
88 Posts

Posted - May 23 2018 :  18:14:14  Show Profile  Reply
Thanks, no big deal as the amount of code is trivial. Just didn't know if it was a bug or something I was doing wrong.

Eric
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: