Share via


FormGroupControl.dragOver(FormControl, FormDrag, Int32, Int32) Method

Definition

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

public:
 override Dynamics::AX::Application::FormDrag dragOver(Dynamics::AX::Application::FormControl ^ _dragSource, Dynamics::AX::Application::FormDrag _dragMode, int _x, int _y);
public override Dynamics.AX.Application.FormDrag dragOver (Dynamics.AX.Application.FormControl _dragSource, Dynamics.AX.Application.FormDrag _dragMode, int _x, int _y);
override this.dragOver : Dynamics.AX.Application.FormControl * Dynamics.AX.Application.FormDrag * int * int -> Dynamics.AX.Application.FormDrag
Public Overrides Function dragOver (_dragSource As FormControl, _dragMode As FormDrag, _x As Integer, _y As Integer) As FormDrag

Parameters

_dragSource
FormControl

An Integer data type that indicates the y-coordinate of the object position.

_dragMode
FormDrag

An Integer data type that indicates the y-coordinate of the object position.

_x
Int32

An Integer data type that indicates the y-coordinate of the object position.

_y
Int32

An Integer data type that indicates the y-coordinate of the object position.

Returns

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.

Applies to