Quintiq file version 2.0
|
#parent: #root
|
Method UpdateShadow () id:Method_DialogEditKPIWeight_UpdateShadow
|
{
|
#keys: '[146140.1.1728548325]'
|
Body:
|
[*
|
// Change value of shadow[KPIWeight] for batchedit
|
// Changes are not really applies because it can still be canceled
|
kpiweights := DataHolderKPIWeights.Data();
|
|
traverse( kpiweights, Elements, e )
|
{
|
newweight := ApplicationMacroPlanner.FormatStringToNumber( EditFieldWeight.Text() );
|
newlevel := ApplicationMacroPlanner.FormatStringToNumber( EditFieldLevel.Text() );
|
|
if( CheckboxBatchEditWeight.Enabled() )
|
{
|
e.Weight( newweight );
|
}
|
if( CheckboxBatchEditLevel.Enabled() )
|
{
|
e.Level( newlevel );
|
}
|
}
|
*]
|
}
|