1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | Quintiq file version 2.0 
 |  #parent: EditorAcceptanceValue 
 |  Response OnUpdateUI () id:Response_EditorAcceptanceValue_OnUpdateUI 
 |  { 
 |    #keys: '[139596.4.1516200043]' 
 |    Body: 
 |    [* 
 |      if( not EditorAcceptancePercentage.Enabled() ) 
 |      { 
 |        EditorAcceptancePercentage.Text( guard( ( 100.0 * [Real]EditorAcceptanceValue.Text() / [Real] EditorValue.Text() ), 0.0 ).Format( 'N(Dec(3)))' ) ); 
 |      } 
 |    *] 
 |    CanBindMultiple: false 
 |    DefinitionID: 'Responsedef_GUIComponent_OnUpdateUI' 
 |  } 
 |  
  |