all groups > dotnet windows forms > august 2005 >
You're in the

dotnet windows forms

group:

Drag & Drop puzzled


Drag & Drop puzzled Lloyd Dupont
8/31/2005 12:00:00 AM
dotnet windows forms:
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... :-/

Re: Drag & Drop puzzled Lloyd Dupont
8/31/2005 12:00:00 AM
mmhh...
in fact I have the forbidden cursor icon, like I couldn't drop.
but I set AllowDrop to true!

--
On a toujours tort d'essayer d'avoir raison devant des gens qui ont
toutes les bonnes raisons de croire qu'ils n'ont pas tort !
[quoted text, click to view]

Re: Drag & Drop puzzled Lloyd Dupont
8/31/2005 12:00:00 AM
mmh..
obviously more than time to go to bed.....
I forget about the
e.Effect = ... in OnDragEnter()....

--
"A preoccupation with the next world pretty clearly signals an inability to
cope credibly with this one."

[quoted text, click to view]

AddThis Social Bookmark Button