Share via


FormGroupControl.dragOver Method

Is called when an object is dragged over the bounds of a form group control.

Syntax

public FormDrag dragOver(
    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, copied, or not moved to a specified position.
  • x
    Type: int
    An Integer data type that indicates the x-coordinate of the object position.
  • y
    Type: int
    An Integer data type that indicates the y-coordinate of the object position.

Return Value

Type: FormDrag Enumeration
A FormDrag system enumeration value that indicates whether the object is moved, copied, or not moved to a specified 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 dragOver.

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

See Also

Reference

FormGroupControl Class