Quintiq file version 2.0
#parent: lstParticipations
Response OnClick (
  structured[LibCal_Participation] selection
) id:Response_lstParticipations_mnuEditCalendar_OnClick
{
  #keys: '[131094.1.438552552]'
  Body:
  [*
    // Edit the calendar of the selected event.
    calendar := select( selection, Elements.Calendar, cal, true, true );
    
    dlg := construct( LibCal_dlgEditCalendar );
    dlg.Open( this, calendar );
  *]
  CanBindMultiple: false
  DefinitionID => /lstParticipations/Responsedef_lstParticipations_Menu_OnClick
  Initiator: 'mnuEditCalendar'
  Precondition:
  [*
    return LibCal_swEventsAndOccurrences.EventsOfOneCalendarSelected( selection );
  *]
}
