Share via


FormGroupControl.drop Method

Is called when a user drops a form group control or an item in a form group 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 group 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 value that indicates the x-coordinate of the object position.
  • y
    Type: int
    An integer value that indicates the y-coordinate of the object position.

Remarks

You can override this method in a form group control by right-clicking the Methods node below the control, clicking Override Method, and then clicking drop.

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

See Also

Reference

FormGroupControl Class