By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,416 Members | 1,396 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,416 IT Pros & Developers. It's quick & easy.

controls dragdrop to be restricted

P: n/a
I wanted a label control drag to be restricted inside the boundary of
panel.When dragged out the label should not be when dragged out
only half the label will be seen that should not happen.Thanx in advance.

Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

How do you drag that control at the moment.

I assume that you have somewhere this in your program what you test against
your borders.

new Point(Cursor.Position.X, Cursor.Position.Y)

I hope this helps

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.