Quintiq file version 2.0
#parent: SelectionScenario
Response OnSelectionChanged () id:Response_SelectionScenario_OnSelectionChanged #extension
{
  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() );
    }
  *]
}
