| Quintiq file version 2.0 | 
| #parent: #root | 
| Method SetDaysOnlyMode () id:Method_LibCal_dlgMultipleEvent_SetDaysOnlyMode | 
| { | 
|   #keys: '[415136.0.646700929]' | 
|   Body: | 
|   [* | 
|     // Force the times to be 0:00, in case an event is edited that was created in 'regular' mode, | 
|     // and set IsAllDay. | 
|     this.ShowDaysOnlyModeWarning(); | 
|      | 
|     dhStartTimeOfDay.Data( Duration::Zero() ); | 
|     dhEndTimeOfDay  .Data( Duration::Zero() ); | 
|      | 
|     durStartTimeOfDay.Duration( Duration::Zero() ); | 
|     durEndTimeOfDay  .Duration( Duration::Zero() ); | 
|      | 
|     //ckbIsAllDay.Checked(  true ); | 
|      | 
|     // Disable start and end time, and hide checkbox 'All day'. | 
|     // Disabling start and end makes the duration more clear; you can better see that end is NOT part of the duration. | 
|     durStartTimeOfDay.Enabled( false, "Days only mode is enabled" ); | 
|     durEndTimeOfDay  .Enabled( false, "Days only mode is enabled" ); | 
|     //ckbIsAllDay      .Visible( false ); | 
|   *] | 
| } |