Quintiq file version 2.0
#parent: ListOptimizer
Response OnClick (
  LibOpt_Optimizer selection
) id:Response_ListOptimizer_MenuStop_OnClick
{
  #keys: '[139164.3.817174406]'
  Body:
  [*
    runs := selectset( selection, Run, run, true );
    LibOpt_Run::Stop( runs );
  *]
  CanBindMultiple: false
  DefinitionID => /ListOptimizer/Responsedef_ListOptimizer_Menu_OnClick
  Initiator: 'MenuStop'
  Precondition:
  [*
    runs := selectset( selection, Run, run, true );
    return LibOpt_Optimization::PreconditionExists( LibOpt_FormOptimizer.Optimization() )
           and LibOpt_Run::StopPrecondition( runs );
  *]
}
