Quintiq file version 2.0
#parent: GanttChartDemandSupplyGroup/MenuLegend
Response OnClick () id:Response_GanttChartDemandSupplyGroup_MenuLegend_OnClick
{
  #keys: '[11660.0.113019757]'
  Body:
  [*
    //show dialog
    dlg := Application.Frame().FindChildObject( 'DialogLegendProductPlanning' ).astype( DialogLegendProductPlanning );
    if( isnull( dlg ) )
    {
      newdlg := construct( DialogLegendProductPlanning );
      ApplicationLibMacroPlanner.ActiveWindow().Frame().ShowDialog( &newdlg );
    }
    else
    {
      dlg.SetFocus();
    }
  *]
  DefinitionID: 'Responsedef_Menu_OnClick'
}
