event Drag (DragInfo as DragInfo)
Notifies that the user drags the layer.

TypeDescription
DragInfo as DragInfo A DragInfo object that carries information about the dragging operation.
Any layer on the control supports drag operations like moving, rotation, or combination of them, when the user clicks and drags a layer. The drag operation automatically starts when the user clicks a visible, selectable and dragable layer. The OnDrag property indicates the action to be performed when the user drags the layer ( dragable ).  The Visible property shows or hides a specific layer (visible). The Selectable property returns or sets a value that indicates whether the layer is selectable. The Change event occurs when the layer's value is changed.

The control fires the drag events in the following order:

Syntax for Drag event, /NET version, on:

private void Drag(object sender,exontrol.EXGAUGELib.DragInfo   DragInfo)
{
}

Private Sub Drag(ByVal sender As System.Object,ByVal DragInfo As exontrol.EXGAUGELib.DragInfo) Handles Drag
End Sub

Syntax for Drag event, /COM version, on:

private void Drag(object sender, AxEXGAUGELib._IGaugeEvents_DragEvent e)
{
}

void OnDrag(LPDISPATCH   DragInfo)
{
}

void __fastcall Drag(TObject *Sender,Exgaugelib_tlb::IDragInfo   *DragInfo)
{
}

procedure Drag(ASender: TObject; DragInfo : IDragInfo);
begin
end;

procedure Drag(sender: System.Object; e: AxEXGAUGELib._IGaugeEvents_DragEvent);
begin
end;

begin event Drag(oleobject  DragInfo)

end event Drag

Private Sub Drag(ByVal sender As System.Object, ByVal e As AxEXGAUGELib._IGaugeEvents_DragEvent) Handles Drag
End Sub

Private Sub Drag(ByVal DragInfo As EXGAUGELibCtl.IDragInfo)
End Sub

Private Sub Drag(ByVal DragInfo As Object)
End Sub

LPARAMETERS DragInfo

PROCEDURE OnDrag(oGauge,DragInfo)

RETURN

Syntax for Drag event, /COM version (others), on:

<SCRIPT EVENT="Drag(DragInfo)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function Drag(DragInfo)
End Function
</SCRIPT>

Procedure OnComDrag Variant   llDragInfo
	Forward Send OnComDrag llDragInfo
End_Procedure

METHOD OCX_Drag(DragInfo) CLASS MainDialog
RETURN NIL

void onEvent_Drag(COM   _DragInfo)
{
}

function Drag as v (DragInfo  as  OLE::Exontrol.Gauge.1::IDragInfo)
end function

function nativeObject_Drag(DragInfo)
return