all groups > dotnet windows forms designtime > may 2004 >
You're in the

dotnet windows forms designtime

group:

PictureBox.AllowDrop Property



PictureBox.AllowDrop Property Gaz
5/7/2004 2:11:51 PM
dotnet windows forms designtime: I want to be able to set the PictureBox.AllowDrop property in the designer
but it doesn't appear in the properties list. In the MSDN help files
'AllowDrop' is not even listed as a member of PictureBox! even though
PictureBox is inherited from System.Windows.Forms.Control which has this
property. Other controls like Panel do show this property but not
PictureBox. Why is this?

How do I get this property and others to appear in the properties window so
that I can change them at design time? I am coding in MC++.

Thanks, Gaz.

Re: PictureBox.AllowDrop Property Gaz
5/7/2004 7:51:37 PM
[quoted text, click to view]

"// There is currently no way to set the AllowDrop property for a
PictureBox
// in the Visual Studio designer, so they must be set explicitly in the
code."

Found in the downloaded sample Drag & Drop application.

Thanks anyway, Gaz.

Re: PictureBox.AllowDrop Property Daniel Sharp
5/8/2004 3:01:15 PM
hi

in design time, change property AllowDrop, set to true

daniel #

[quoted text, click to view]

AddThis Social Bookmark Button