Drag-and-Drop in VB.NET
-
I have never used drag and drop before, and i really have no idea how to do it. I am aware that all controls have an "AllowDrop" property, but i'm not really sure what that means. I also know all controls have drag-drop events, and i am unsure how to use them as well. I could really use some guidance on getting started in this. Let's just say, as an example, if i had a picture box, and when an image file is dragged onto it from explorer, i would want it to display it. Explain how to do something simple like that, and i should be able to figure out the rest. Thanks for any help.
if (your.Life != lifestyles.Programming) { me.Hate(your.Life) = true; } "Failure is only the opportunity to begin again, this time more wisely." "Don't ask for a light load, but rather ask for a strong back."
-
I have never used drag and drop before, and i really have no idea how to do it. I am aware that all controls have an "AllowDrop" property, but i'm not really sure what that means. I also know all controls have drag-drop events, and i am unsure how to use them as well. I could really use some guidance on getting started in this. Let's just say, as an example, if i had a picture box, and when an image file is dragged onto it from explorer, i would want it to display it. Explain how to do something simple like that, and i should be able to figure out the rest. Thanks for any help.
if (your.Life != lifestyles.Programming) { me.Hate(your.Life) = true; } "Failure is only the opportunity to begin again, this time more wisely." "Don't ask for a light load, but rather ask for a strong back."