| Quintiq file version 2.0 | 
| #parent: lstParticipations | 
| Response OnSelectionChanged ( | 
|   structured[LibCal_Participation] selection | 
| ) id:Response_lstParticipations_OnSelectionChanged | 
| { | 
|   #keys: '[131094.1.410426047]' | 
|   Body: | 
|   [* | 
|     // Make sure that the row of the first selected event is visible in the ganttchart. | 
|     event := minselect( selection, Elements.Event, evnt, true, evnt.EventCategory().Name(), evnt.Subject() ); | 
|      | 
|     gcCalendar.EnsureRowVisible( event.Key() ); | 
|      | 
|     // Put the Participations that are selected in the list in a DataHolder, | 
|     // so that they can be used for filtering when 'Only show selected events' is checked. | 
|     dhSelectedParticipations.Data( selection.Copy() ); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_List_OnSelectionChanged' | 
| } |