Quintiq file version 2.0 
 | 
#parent: TabPage1/CalendarEditor 
 | 
Response OnClick () id:Response_TabPage1_menuNewSubscription_OnClick 
 | 
{ 
 | 
  #keys: '[131094.1.350209643]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Subscribe to a calendar event 
 | 
    LibCal_GlobalState.CreateSubscription( this, Dialog.Data() ); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_TabPage1_CalendarEditor_Menu_OnClick' 
 | 
  Initiator: 'menuNewSubscription' 
 | 
  Precondition: 
 | 
  [* 
 | 
    return LibCal_GlobalState.HasPotentialEventsToSubscribeTo( Dialog.Data() ); 
 | 
  *] 
 | 
} 
 |