FormListControl.dragOver Method [AX 2012]
Identifies when a user drags an object over an item within the bounds of a form list 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 list 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's position.
- y
- Type: int
An Integer data type that indicates the y-coordinate of the object's position.
Return Value
Type: FormDrag EnumerationA FormDrag system enumeration value that specifies whether the object is moved, copied, or not moved to a specified position.
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 dragOver.
For information about best practices for forms and code, see No Code in Forms.
Community Additions
ADD
Show: