Quintiq file version 2.0
#parent: PanelInitChoice/DataHolderCurrentInitChoice
Response OnDataChanged () id:Response_PanelInitChoice_DataHolderCurrentInitChoice_OnDataChanged
{
  #keys: '[121114.1.2064481844]'
  Body:
  [*
    // OnDataChanged for DataHoldercurrentInitChoice
    
    names := construct( Strings );
    
    traverse( DataHolderCurrentInitChoice.Data(), Children, choice )
    {
      names.Add( choice.Name() );
    }
    
    RadioButtonGroupChoices.ButtonLabels( names.Concatenate( ";" ) );
    RadioButtonGroupChoices.ButtonValues( names.Concatenate( ";" ) );
    
    RadioButtonGroupChoices.BoundValue( guard( DataHolderCurrentInitChoice.Data().Selected().Name(), "" ) );
    
    Dialog.UpdateDialog();
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIComponent_OnDataChanged'
}
