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