Quintiq file version 2.0 #parent: lstSubscribers Response OnClickElement ( LibCal_Calendar element ) id:Response_lstSubscribers_OnClickElement { #keys: '[131094.0.1184457669]' Body: [* // Toggle the participation of the calendar. selection := construct( LibCal_Calendars ); selection.Add( element ); Dialog.ToggleSubscription( selection ); *] CanBindMultiple: false DefinitionID: 'Responsedef_List_OnClickElement' Precondition: [* // Only execute when clicked on the CheckBox image (16x16 pixels) in list, // and the element is not the current calendar (cannot uncheck self). return x < 16 and element <> dhLeadingParticipation.Data().Calendar(); *] }