FormListControl.dragOver(FormControl, FormDrag, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies when a user drags an object over an item within the bounds of a form list 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's position.
- _dragMode
- FormDrag
An Integer data type that indicates the y-coordinate of the object's position.
- _x
- Int32
An Integer data type that indicates the y-coordinate of the object's position.
- _y
- Int32
An Integer data type that indicates the y-coordinate of the object's position.
Returns
A FormDrag system enumeration value that specifies whether the object is moved, copied, or not moved to a specified position.
Remarks
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.