| Quintiq file version 2.0 | 
| #parent: #root | 
| Response OnCreated () id:Response_LibCal_dlgEvent_OnCreated | 
| { | 
|   #keys: '[131092.0.2141062571]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebComponent_OnCreated' | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Generic initialization | 
|       calendar := dhLeadingParticipation.Data().Calendar(); | 
|       this.Title( "Event for calendar '" + calendar.CalendarID() + "'" ); | 
|        | 
|       // Only show the checkbox for common events. | 
|       pnlApplyToNewResources.Visible( calendar.istype( LibCal_CommonCalendar ) ); | 
|        | 
|       this.InitializeWeekdayButtons(); | 
|       this.InitializeRecurrence(); | 
|       this.SetParticipationData();  // Determine the StartDate after the recurrence has been initialized, | 
|                                     // so it can be updated to the first occurrence inside the CalendarWindow if necessary. | 
|       this.InitializeTimezone(); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |