Quintiq file version 2.0
#parent: #root
Response OnCreated () id:Response_DialogLegendProductPlanning_OnCreated
{
  #keys: '[11660.0.112964006]'
  Body:
  [*
    // Set color
    
    ButtonConstraintViolation.BackgroundColor( ColorScheme.GanttChart_Error() );
    ButtonDemandNotSatisfied.BackgroundColor( ColorScheme.GanttChart_Warning1() );
    ButtonInventoryTargetNotSatisfied.BackgroundColor( ColorScheme.GanttChart_Warning2() );
    ButtonDemandAndInventoryTargetSatisfied.BackgroundColor( ColorScheme.GanttChart_Good() );
    ButtonNoDemandSupply.BackgroundColor( ColorScheme.GanttChart_Free() );
    ButtonNegativeInventoryAllowed.BackgroundColor( ColorScheme.GanttChart_Custom1() );
    ButtonStartOfPlanning.BackgroundColor( ColorScheme.GanttChart_StartOfPlanning() );
    ButtonEndOfFrozenPeriod.BackgroundColor( ColorScheme.GanttChart_EndOfFrozenPeriod() );
    ButtonHistoricalPeriod.BackgroundColor( ColorScheme.GanttChart_Irrelevant() );
  *]
  DefinitionID: 'Responsedef_GUIComponent_OnCreated'
}
