468,252 Members | 1,482 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,252 developers. It's quick & easy.

prevent dragndrop of ToolStrip

Sam
Hi,
In my form I have two ToolStripPanels (TSP), one docked on the left,
the other docked on the right.

Each of those TSP contains a ToolSrip control. I would like to allow
the ToolStrips to move on their respective TSP they belong to, but
prevent dragndrop of ToolStrips from one TSP to the other.

How can I do that?

Thank you.

Dec 16 '05 #1
2 1007
hi Sam,
have you checked ToolStripPanels' dragdrop property. if not give it a
look and c whether it is true or false. if it is true than make it
false. i;m not sure the cotrol has this property but as it is also
inherited from the container class it must have it.

Dec 16 '05 #2
Sam
Hi Lucky,

Thank you for your reply.

I've set the following:

Me.ToolStripPanel1.AllowDrop = False
But it didn't change anything. And anyway, as I said, I want to prevent
dragndrop from one TSP to another but still have the possibility to
move the Toolstrips on their respective TSP.

Dec 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by thomasp | last post: by
3 posts views Thread by thomasp | last post: by
reply views Thread by gene kelley | last post: by
1 post views Thread by Alex Clark | last post: by
reply views Thread by Jon Davis | last post: by
reply views Thread by Anand Ganesh | last post: by
reply views Thread by Martijn Mulder | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.