event DragStart (DragInfo as DragInfo, Cancel as Boolean)
Occurs once the user starts dragging a layer.

TypeDescription
DragInfo as DragInfo A DragInfo object that carries information about the dragging operation. You can use UserData property of the DragInfo object to associate any-extra data to the current dragging operation.
Cancel as Boolean A Boolean expression that specifies whether the dragging operation should be canceled, or can continue. By default, the Cancel parameter is False, so you can change the Cancel parameter during the DragStart event to prevent sragging any layer on the control.
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:

You can use the Debug property of the DragInfo object to display debugging information during dragging.

The following screen show shows debugging information during dragging:

Syntax for DragStart event, /NET version, on:

private void DragStart(object sender,exontrol.EXGAUGELib.DragInfo   DragInfo,ref bool   Cancel)
{
}

Private Sub DragStart(ByVal sender As System.Object,ByVal DragInfo As exontrol.EXGAUGELib.DragInfo,ByRef Cancel As Boolean) Handles DragStart
End Sub

Syntax for DragStart event, /COM version, on:

private void DragStart(object sender, AxEXGAUGELib._IGaugeEvents_DragStartEvent e)
{
}

void OnDragStart(LPDISPATCH   DragInfo,BOOL FAR*   Cancel)
{
}

void __fastcall DragStart(TObject *Sender,Exgaugelib_tlb::IDragInfo   *DragInfo,VARIANT_BOOL *   Cancel)
{
}

procedure DragStart(ASender: TObject; DragInfo : IDragInfo;var Cancel : WordBool);
begin
end;

procedure DragStart(sender: System.Object; e: AxEXGAUGELib._IGaugeEvents_DragStartEvent);
begin
end;

begin event DragStart(oleobject  DragInfo,boolean  Cancel)

end event DragStart

Private Sub DragStart(ByVal sender As System.Object, ByVal e As AxEXGAUGELib._IGaugeEvents_DragStartEvent) Handles DragStart
End Sub

Private Sub DragStart(ByVal DragInfo As EXGAUGELibCtl.IDragInfo,Cancel As Boolean)
End Sub

Private Sub DragStart(ByVal DragInfo As Object,Cancel As Boolean)
End Sub

LPARAMETERS DragInfo,Cancel

PROCEDURE OnDragStart(oGauge,DragInfo,Cancel)

RETURN

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

<SCRIPT EVENT="DragStart(DragInfo,Cancel)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function DragStart(DragInfo,Cancel)
End Function
</SCRIPT>

Procedure OnComDragStart Variant   llDragInfo Boolean   llCancel
	Forward Send OnComDragStart llDragInfo llCancel
End_Procedure

METHOD OCX_DragStart(DragInfo,Cancel) CLASS MainDialog
RETURN NIL

void onEvent_DragStart(COM   _DragInfo,COMVariant /*bool*/   _Cancel)
{
}

function DragStart as v (DragInfo  as  OLE::Exontrol.Gauge.1::IDragInfo,Cancel  as  L)
end function

function nativeObject_DragStart(DragInfo,Cancel)
return