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
 How to get name of Source of DragDrop?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
727 Posts

Posted - Sep 27 2016 :  02:21:50  Show Profile  Reply
Hello,

I have implemented a DragDrop feature in which users can drag one or more images from ImageEnMView to ImageEnView.

When the user drags and drops the information that we get in OnDragDrop event of ImageEnView is Source and this source just returns the Class Name of the object from where DragDrop initiated.

How can I get the name of source that is assigned to ImageEnMView at design time?

I want this because I want to perform different activities based on the source of DragDrop.

TIA


Yogi Yang

xequte

38616 Posts

Posted - Sep 27 2016 :  12:19:21  Show Profile  Reply
Hi Yogi

That is just the standard VCL OnDragDrop event, so if you check that Source is TImageEnMView, then you can use TImageEnMView(Source) to access its properties.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

yogiyang

India
727 Posts

Posted - Sep 28 2016 :  02:43:18  Show Profile  Reply
Hello Nigel,

Thanks that did the trick.

Regards,


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