| Quintiq file version 2.0 | 
| #parent: #root | 
| Response OnClick () id:Response_LibCal_gcCalendar_mnuNewSubscription_OnClick | 
| { | 
|   #keys: '[131094.1.1224468636]' | 
|   Body: | 
|   [* | 
|     // Select an existing event and subscribe to it. | 
|     LibCal_GlobalState.CreateSubscription( this, dhCalendar.Data() ); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID => /Responsedef_LibCal_gcCalendar_Menu_OnClick | 
|   Initiator: 'mnuNewSubscription' | 
|   Precondition: | 
|   [* | 
|     return LibCal_GlobalState.HasPotentialEventsToSubscribeTo( dhCalendar.Data() ); | 
|   *] | 
| } |