GMMorris Posted April 2, 2004 Posted April 2, 2004 Hi, I catch an item being droped into my Container control in design time using the "DragDrop" event. The thing is, I don't want any control other than a particular type to be dropped into the container. What can I do about this? Can I disallow all types other than a specific one? Can I "Abort" a drag-and-drop if it dosn't suit the type I allow? Quote Latly it would seem as though I'm don't abnegate from anything... except women. :( :)
*Gurus* divil Posted April 2, 2004 *Gurus* Posted April 2, 2004 The designer already has methods you can override to gain this functionality. See the CanParent method. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.