Quintiq file version 2.0
#parent: pnlNotRecurring/durEndTimeOfDay
Response OnChanged () id:Response_pnlNotRecurring_durEndTimeOfDay_OnChanged
{
  #keys: '[131094.0.629923057]'
  Body:
  [*
    // Update the 'memory', but only when not all day, because otherwise it will be set to 0:00.
    if( not ckbIsAllDay.Checked() )
    {
      vhEndTimeOfDay.Data( this.Duration() );
    }
    
    // Keep durEndTimeRecurring on the other panel in sync.
    durEndTimeOfDayRecurring.Duration( this.Duration() );
    
    Dialog.UpdateDuration();
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIDurationSelector_OnChanged'
}
