Quintiq file version 2.0
#parent: lstResourceCalendars
Response OnClick (
  structured[LibCal_Calendar] selection
) id:Response_lstResourceCalendars_menuEditCalendar_OnClick
{
  #keys: '[131094.1.468688712]'
  Body:
  [*
    // Edit the calendar.
    dlg := construct( LibCal_dlgEditCalendar );
    dlg.Open( this, selection.Element( 0 ) );
  *]
  CanBindMultiple: false
  DefinitionID => /lstResourceCalendars/Responsedef_lstResourceCalendars_Menu_OnClick
  Initiator: 'menuEditCalendar'
  Precondition:
  [*
    return Form.OneCalendarSelected( selection );
  *]
}
