Quintiq file version 2.0
#parent: pnlStartAndEnd/datStartDate
Response OnChanged () id:Response_pnlStartAndEnd_datStartDate_OnChanged
{
  #keys: '[146730.0.901525326]'
  Body:
  [*
    // Adjust the EndDate accordingly.
    delta := this.Date() - vhStartDate.Data();
    
    if( delta <> 0 )
    {
      datEndDate.Date( datEndDate.Date() + delta );
    
      // Update the 'memory' for later delta-calculation, and/or setting the time back when AllDay is turned off.
      vhStartDate.Data( this.Date() );
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIDateSelector_OnChanged'
}
