| Quintiq file version 2.0 | 
| #parent: Toolbar/btnOk | 
| Response OnClick () id:Response_Toolbar_btnOk_OnClick | 
| { | 
|   #keys: '[11660.0.354468274]' | 
|   Body: | 
|   [* | 
|     // Apply changes | 
|      | 
|     Dialog.ApplyChanges(); | 
|     Dialog.EndModal(1); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_GUIButtonBase_OnClick' | 
|   Precondition: | 
|   [* | 
|     sanitycheckfeedback := ''; | 
|     return CurrencyRate_MP::ValidateInput( feedback, | 
|                                            sanitycheckfeedback, | 
|                                            SelectionCurrency.Data(), | 
|                                            guard( GUIDateTimeSelectorStart.DateTime().Date(), Date::MinDate() ), | 
|                                            ApplicationLibMacroPlanner.FormatStringToReal( EditorRate.Text() ), | 
|                                            Dialog.Data().WrappedInstance() ); | 
|   *] | 
|   UserRequiresReadWrite: true | 
| } |