event ChartStartChanging (Operation as BarOperationEnum)
Occurs when the chart is about to be changed.

TypeDescription
Operation as BarOperationEnum A BarOperationEnum expression that specifies the operation to start
The ChartStartChaning event notifies your application once the user starts resizing or moving a bar at runtime using the mouse. The ChartEndChanging event occurs once the operation ends. The ChartStartChaning event is fired in the following cases:

Syntax for ChartStartChanging event, /NET version, on:

private void ChartStartChanging(object sender,exontrol.EXG2ANTTLib.BarOperationEnum Operation)
{
}

Private Sub ChartStartChanging(ByVal sender As System.Object,ByVal Operation As exontrol.EXG2ANTTLib.BarOperationEnum) Handles ChartStartChanging
End Sub

Syntax for ChartStartChanging event, /COM version, on:

private void ChartStartChanging(object sender, AxEXG2ANTTLib._IG2anttEvents_ChartStartChangingEvent e)
{
}

void OnChartStartChanging(long Operation)
{
}

void __fastcall ChartStartChanging(TObject *Sender,Exg2anttlib_tlb::BarOperationEnum Operation)
{
}

procedure ChartStartChanging(ASender: TObject; Operation : BarOperationEnum);
begin
end;

procedure ChartStartChanging(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_ChartStartChangingEvent);
begin
end;

begin event ChartStartChanging(long Operation)
end event ChartStartChanging

Private Sub ChartStartChanging(ByVal sender As System.Object, ByVal e As AxEXG2ANTTLib._IG2anttEvents_ChartStartChangingEvent) Handles ChartStartChanging
End Sub

Private Sub ChartStartChanging(ByVal Operation As EXG2ANTTLibCtl.BarOperationEnum)
End Sub

Private Sub ChartStartChanging(ByVal Operation As Long)
End Sub

LPARAMETERS Operation

PROCEDURE OnChartStartChanging(oG2antt,Operation)
RETURN

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

<SCRIPT EVENT="ChartStartChanging(Operation)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function ChartStartChanging(Operation)
End Function
</SCRIPT>

Procedure OnComChartStartChanging OLEBarOperationEnum llOperation
	Forward Send OnComChartStartChanging llOperation
End_Procedure

METHOD OCX_ChartStartChanging(Operation) CLASS MainDialog
RETURN NIL

void onEvent_ChartStartChanging(int _Operation)
{
}

function ChartStartChanging as v (Operation as OLE::Exontrol.G2antt.1::BarOperationEnum)
end function

function nativeObject_ChartStartChanging(Operation)
return

For instance, you can use the ChartStartChanging event to shows the grid lines while resizing, and use the ChartEndChaning to hide the grid lines. 

Use the StartBlockUndoRedo / EndBlockUndoRedo methods to collect the user operations as a block, so next time the Undo/Redo operation is performed, the entire block of operations is performed or restored at once. For instance, if you have a bar related to several other bars, and so moving a bar implies moving several other bars, each moving is recorded as a single undo/redo operation, so the operations are restored once at the time. Instead, if you use the StartBlockUndoRedo / EndBlockUndoRedo methods when your operation starts / ends, the collection of operations is recorded as a block of instructions, so the next time Undo operation is called the entire block is restored or performed at once.