| Quintiq file version 2.0 | 
| #parent: #root | 
| Method ValuesWeeklyPatternOK () as Boolean id:Method_LibCal_dlgEvent_ValuesWeeklyPatternOK | 
| { | 
|   #keys: '[131092.1.1299579]' | 
|   Body: | 
|   [* | 
|     feedback := FeedbackObject::LocalFeedback(); | 
|      | 
|     if( btnWeekly.IsPressed() | 
|         and not btnMonday   .IsPressed() | 
|         and not btnTuesday  .IsPressed() | 
|         and not btnWednesday.IsPressed() | 
|         and not btnThursday .IsPressed() | 
|         and not btnFriday   .IsPressed() | 
|         and not btnSaturday .IsPressed() | 
|         and not btnSunday   .IsPressed() ) | 
|     { | 
|       feedback.AddHard( Translations::Pattern_Weekly_NoDaySelected() ); | 
|     } | 
|      | 
|     return feedback.IsAllowed(); | 
|   *] | 
| } |