Quintiq file version 2.0
#parent: #root
Method UpdateFormRows () id:Method_FormResults_UpdateFormRows
{
  #keys: '[145592.0.230432612]'
  Body:
  [*
    
    str := ''
    
    if( CheckBoxAverage.Checked() )
    {
      str := str + 'Average;'
    }
    
    if( CheckBoxMin.Checked() )
    {
      str := str + 'Min;'
    }
    
    if( CheckBoxMax.Checked() )
    {
      str := str + 'Max;'
    }
    
    if( CheckBoxMedian.Checked() )
    {
      str := str + 'Median;'
    }
    
    if( CheckBoxVariance.Checked() )
    {
      str := str + 'Variance;'
    }
    
    if( CheckBoxStdDev.Checked() )
    {
      str := str + 'StdDev;'
    }
    
    if( CheckBoxNrOfRuns.Checked() )
    {
      str := str + 'NrOfRuns;'
    }
    
    strlength := str.Length();
    if( strlength > 0 )
    {
      str := str.SubString( 0, strlength - 1 );
    }
    
    MatrixEditor.SetProperty( "Attributes", str );
  *]
}
