Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAaron Selonke
10,323 PointsWindows.Forms Form1 allowdrop property is true, Why can't I drag a file into the form now?
I'm trying to make a window.from application where I can drag image files into the picture boxes inside the form and than crop-format the images to a uniform size for display on a page or as thumbnail displays.
Im getting stopped here right at the beginning because i'm not able to drag anything into the form. in the IDE design window, set the Form1 Allowdrop property to true, but when I run the program, It does still does not allow me to drag files in...... when dragging the files in I the cursor changes to 'no' (as in the no smoking sign)
Question) Why is the form still behaving like AllowDrop is false Question) Why is there no AllowDrop property on the PictureBox class?
Thanks
1 Answer
Jeremy McLain
Treehouse Guest TeacherWe don't teach Windows Forms development at Treehouse yet. Questions about specific applications and frameworks like this are better asked on sites such as StackOverflow. You'll have better luck getting an answers to your questions there. You'll have better luck if you post the relevant code to demonstrate the problem.