Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Event DragDrop to stop or cancel (Read 1823 times)
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 48
Joined: Dec 19th, 2011
Event DragDrop to stop or cancel
Feb 4th, 2014 at 10:28am
Print Post  
Hello,
I would want the event DragDrop (object see, system. Windows. Forms. DragEventArgs e) stop. In the case e. CancelDrag () does not function. How can I stop here the event or cancel?

Many thanks in advance
Kuzya
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Event DragDrop to stop or cancel
Reply #1 - Feb 4th, 2014 at 11:08am
Print Post  
Hi,

Try the QueryContinueDrag event. From MSDN: The event is raised when there is a change in the keyboard or mouse button state during a drag-and-drop operation. The QueryContinueDrag event enables the drag source to determine whether the drag-and-drop operation should be canceled.

The example here cancels the drag operation when the mouse pointer leaves the form boundaries:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.querycontin...

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint