Quintiq file version 2.0
#parent: #root
Method ValuesOK () as Boolean id:Method_LibCal_dlgCalendarSettings_ValuesOK
{
  #keys: '[131094.1.266617734]'
  Body:
  [*
    feedback  := FeedbackObject::LocalFeedback();
    isAllowed := [Number]edtHistory.Text() <= [Number]edtWindow.Text();
    
    if( not feedback.CheckHard( isAllowed ) )
    {
      feedback.AddHard( Translations::Calendar_HistoryTooBig() );
    }
    
    return feedback.IsAllowed();
  *]
}
