lazhen
2025-01-09 8afe90b633046db39042aada36b88193062f8cff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 );
  *]
}