FormGroupControl.dragOver Method [AX 2012]
Is called when an object is dragged over the bounds of a form group control.
public FormDrag dragOver(
FormControl dragSource,
FormDrag dragMode,
int x,
int y)
Run On
ClientParameters
- 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 EnumerationA FormDrag system enumeration value that indicates whether the object is moved, copied, or not moved to a specified position.
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.
Community Additions
ADD
Show: