| Quintiq file version 2.0 | 
| #parent: TabPage1/CalendarEditor | 
| Response OnClick ( | 
|   LibCal_ExplicitTimeInterval selection | 
| ) id:Response_TabPage1_menuDeleteSubscription_OnClick | 
| { | 
|   #keys: '[131094.0.1171040850]' | 
|   Body: | 
|   [* | 
|     // Delete a subscription (participation) and all occurrences. | 
|     participation := selection.Participation(); | 
|      | 
|     participation.Delete(); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_TabPage1_CalendarEditor_Menu_OnClick' | 
|   Initiator: 'menuDeleteSubscription' | 
|   Precondition: | 
|   [* | 
|     return LibCal_GlobalState.CheckIsSubscription( selection.Participation() ); | 
|   *] | 
| } |