Partilhar via


FormActiveXControl.beginDrag(Int32, Int32) Method

Definition

Is called when the user starts to drag a form control.

public:
 override int beginDrag(int _x, int _y);
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public override int beginDrag (int _x, int _y);
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
override this.beginDrag : int * int -> int
Public Overrides Function beginDrag (_x As Integer, _y As Integer) As Integer

Parameters

_x
Int32

An integer value that indicates the y-coordinate of the mouse pointer.

_y
Int32

An integer value that indicates the y-coordinate of the mouse pointer.

Returns

0 (zero) if the event has been handled.

Attributes
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Remarks

This event is not raised unless the DragDrop property is enabled for the control. To drag a control, a user presses the mouse button in the control area and then moves the mouse pointer.

Applies to