1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method Edit (internal[GUIComponent] parent, KpiLabel selection) id:Method_Kpi_dlgKpiLabel_Edit 
 |  { 
 |    #keys: '[146450.2.991356138]' 
 |    Body: 
 |    [* 
 |      data := shadow( selection ); 
 |       
 |      Dialog.Data( data ); 
 |       
 |      // Disable EditorName from being overwritten. 
 |      EditorName.Enabled( false ); 
 |       
 |      if ( Dialog.DoModal( parent ) > 0 ) 
 |      { 
 |        data.Commit(); 
 |      } 
 |    *] 
 |  } 
 |  
  |