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