Drag & Drop puzzled

L

Lloyd Dupont

I already had implemented Drag & DRop successfully it's why I'm
flabergasted...

I have a ome made control which accept Drag&Drop.
OnDragEnter(), OnDragOver() & OnDragLeave(), are called correctly.
However OnDragDrop() is never called!!
(if I drop the dragged stuff, I mean).

What's puzzling is my others control works well.
And this is the second weird thing with this control.

I had implemented editor to edit its model. It add TextBox to the control
and remove when the user press enter.
On the other similar control there was no issue, but this control beeps when
I press enter (and before removing the TextBox).

While it's normal for a TextBox to beep on enter (or so it seems), doesn't
explain why it behaves like that only onthis control as well... :-/
 
L

Lloyd Dupont

mmhh...
in fact I have the forbidden cursor icon, like I couldn't drop.
but I set AllowDrop to true!
 
L

Lloyd Dupont

mmh..
obviously more than time to go to bed.....
I forget about the
e.Effect = ... in OnDragEnter()....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top