Quintiq file version 2.0
#parent: Toolbar/btnOk
Response OnClick () id:Response_Toolbar_btnOk_OnClick
{
  #keys: '[11660.0.763174232]'
  Body:
  [*
    // Apply changes
    
    Dialog.ApplyChanges();
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    return StrategyLevel::ValidateInput( feedback,
                                         ApplicationLibMacroPlanner.FormatStringToNumber( EditorTimeLimit.Text() ),
                                         ApplicationLibMacroPlanner.FormatStringToReal( EditorAbsoluteGap.Text() ),
                                         ApplicationLibMacroPlanner.FormatStringToReal( EditorRelativeGap.Text() ),
                                         ApplicationLibMacroPlanner.FormatStringToReal( EditorRelativeGoalSlack.Text() ),
                                         SelectionSolverSettingGroup.Text(), 
                                         CheckBoxUseHierarchicalSolverAbsTolerance.Checked(), 
                                         CheckBoxUseHierarchicalSolverRelTolerance.Checked(), 
                                         ApplicationLibMacroPlanner.FormatStringToReal( EditorHierarchicalSolverAbsTolerance.Text() ), 
                                         ApplicationLibMacroPlanner.FormatStringToReal( EditorHierarchicalSolverRelTolerance.Text() ) );
  *]
}
