Quintiq file version 2.0
#parent: StringSelectionCategory
Response OnSelectionChanged () id:Response_StringSelectionCategory_OnSelectionChanged
{
  #keys: '[123848.0.74118498]'
  Body:
  [*
    // Enabled / Disabled StringSelectionScenario
    strings := ScenarioManager.GetDemoScenario( this.BoundValue() );
    size := strings.Tokenize( ";").Size();
     
    if( size > 1 )
    {
      StringSelectionScenario.Enabled( true );
      LabelSelectScenario.Enabled( true );
      StringSelectionScenario.Strings( strings );
    }
    else
    {  
      StringSelectionScenario.Strings( strings );
      StringSelectionScenario.Enabled( false );
      LabelSelectScenario.Enabled( false );
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUISelectionBase_OnSelectionChanged'
}
