Quintiq file version 2.0
#parent: GanttChartUnitCalendar/MenuLegendCapacityGanttChart
Response OnClick () id:Response_GanttChartUnitCalendar_MenuLegendCapacityGanttChart_OnClick
{
  #keys: '[122892.0.917014101]'
  Body:
  [*
    //show dialog
    dlg := Application.Frame().FindChildObject( 'DialogLegendDemandSupply' ).astype( DialogLegendCapacityPlanning );
    if( isnull( dlg ) )
    {
      newdlg := construct( DialogLegendCapacityPlanning );
      ApplicationLibMacroPlanner.ActiveWindow().Frame().ShowDialog( &newdlg );
    }
    else
    {
      dlg.SetFocus();
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_Menu_OnClick'
}
