Share via


FormListControl.drop Method

Identifies when a user drops a form list control or an item in a form list control into a new position.

Syntax

public void drop(
    FormControl dragSource, 
    FormDrag dragMode, 
    int x, 
    int y)

Run On

Client

Parameters

  • dragSource
    Type: FormControl Class
    A FormControl object that specifies the form list control.
  • dragMode
    Type: FormDrag Enumeration
    A FormDrag system enumeration value that specifies whether the object is moved or copied to a specified position.
  • x
    Type: int
    An Integer data type that indicates the x-coordinate of the object's position.
  • y
    Type: int
    An Integer data type that indicates the y-coordinate of the object's position.

Remarks

This method is called only if the DragDrop property is set to Manual for the control and a beginDrag event has already been started. For more information about the event, see beginDrag.

To override this method on a list view control, right-click the Methods node below the control, point to Override Method, and then click drop.

For information about best practices for forms and code, see No Code in Forms.

See Also

Reference

FormListControl Class