Quintiq file version 2.0
#parent: TabPage1/CalendarEditor
Response OnClick (
  LibCal_ExplicitTimeInterval selection
) id:Response_TabPage1_menuDeleteEvent_OnClick_918
{
  #keys: '[146730.0.1322373865]'
  Body:
  [*
    // Delete a calendar event (participation) and all occurrences.
    participation := selection.Participation();
    
    participation.Delete();
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_TabPage1_CalendarEditor_Menu_OnClick'
  Initiator: 'menuDeleteEvent'
  Precondition:
  [*
    return LibCal_GlobalState.CheckIsEvent( selection.Participation() );
  *]
}
