Share via


FormControl.endDrag Method

Definition

Is called when the user has finished dragging a form control.

public:
 virtual void endDrag();
public virtual void endDrag ();
abstract member endDrag : unit -> unit
override this.endDrag : unit -> unit
Public Overridable Sub endDrag ()

Remarks

This event is not raised unless the DragDrop property is enabled for the control and a beginDrag event has already been started. To drag a control, a user presses the mouse button in the control area and then moves the mouse pointer.

The following example displays a message in the Infolog when the user has finished dragging the form control.

public void endDrag() 
{  
    info("EndDrag completed"); 
    super(); 
}

Applies to