event DragStart (Position as Long, ByRef Cancel as Boolean)
Occurs once the user starts dragging the split bar.

TypeDescription
Position as Long A long expression that determines the position where the drag operation begins. This parameter is always 0.
Cancel as Boolean (By Reference) A Boolean expression that specifies whether the drag operation should continue or cancel. You can change the Cancel parameter during the DragStart event.
The control fires DragStart event when the user clicks the split bar ( start dragging the split bar ). The Drag event is fired contiguously while the split bar is dragging. The DragEnd event notifies your application that the user releases the split bar ( ends dragging the split bar ). The Enabled property specifies whether the control is enabled or disabled. The MoveTo method moves programmatically the split bar to specified position. The MoveOnDrop property specifies whether the objects to the left/top and right/bottom of the split bar are moved while dragging or just when the user drops the split bar.

Syntax for DragStart event, /NET version, on:

private void DragStart(object sender,int   Position,ref bool   Cancel)
{
}

Private Sub DragStart(ByVal sender As System.Object,ByVal Position As Integer,ByRef Cancel As Boolean) Handles DragStart
End Sub

Syntax for DragStart event, /COM version, on:

private void DragStart(object sender, AxEXSPLITBARLib._ISplitBarEvents_DragStartEvent e)
{
}

void OnDragStart(long   Position,BOOL FAR*   Cancel)
{
}

void __fastcall DragStart(TObject *Sender,long   Position,VARIANT_BOOL *   Cancel)
{
}

procedure DragStart(ASender: TObject; Position : Integer;var Cancel : WordBool);
begin
end;

procedure DragStart(sender: System.Object; e: AxEXSPLITBARLib._ISplitBarEvents_DragStartEvent);
begin
end;

begin event DragStart(long  Position,boolean  Cancel)

end event DragStart

Private Sub DragStart(ByVal sender As System.Object, ByVal e As AxEXSPLITBARLib._ISplitBarEvents_DragStartEvent) Handles DragStart
End Sub

Private Sub DragStart(ByVal Position As Long,Cancel As Boolean)
End Sub

Private Sub DragStart(ByVal Position As Long,Cancel As Boolean)
End Sub

LPARAMETERS Position,Cancel

PROCEDURE OnDragStart(oSplitBar,Position,Cancel)

RETURN

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

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

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

Procedure OnComDragStart Integer   llPosition Boolean   llCancel
	Forward Send OnComDragStart llPosition llCancel
End_Procedure

METHOD OCX_DragStart(Position,Cancel) CLASS MainDialog
RETURN NIL

void onEvent_DragStart(int   _Position,COMVariant /*bool*/   _Cancel)
{
}

function DragStart as v (Position  as  N,Cancel  as  L)
end function

function nativeObject_DragStart(Position,Cancel)
return