Quintiq file version 2.0 
 | 
#parent: SelectionScenario 
 | 
Response OnSelectionChanged () id:Response_SelectionScenario_OnSelectionChanged 
 | 
{ 
 | 
  #keys: '[110880.3.1097947488]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Select a secnario, will also be triggered when scenario is activated via scn mgr list 
 | 
    ApplicationLibMacroPlanner.SelectScenarioReadOnly( SelectionScenario.Data() ); 
 | 
     
 | 
    // Set active scenario on form 
 | 
    frm := Application.Frame().FindChildObject( 'ScenarioManager_FormScenario' ); 
 | 
     
 | 
    if( not isnull( frm ) ) 
 | 
    { 
 | 
      ApplicationLibMacroPlanner.ComponentMDS_SelectInstance( frm, SelectionScenario.Data() ); 
 | 
    } 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_GUISelectionBase_OnSelectionChanged' 
 | 
} 
 |