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
 How to get name of Source of DragDrop?

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
yogiyang Posted - Sep 27 2016 : 02:21:50
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
2   L A T E S T    R E P L I E S    (Newest First)
yogiyang Posted - Sep 28 2016 : 02:43:18
Hello Nigel,

Thanks that did the trick.

Regards,


Yogi Yang
xequte Posted - Sep 27 2016 : 12:19:21
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