PS1 Posted February 1 Share Posted February 1 Please change code under in file ,,UniCalendarPanel.pas". Basically if there is 1 calendar item added and i will search for second one it will return the first one instead of nil... function TUniCalendarList.GetCalendarFromId(CalendarId: Integer): TUniCalendarItem; var I: Integer; begin Result := nil; for I := 0 to Count - 1 do begin Result := Items[I]; if Result.CalendarId = CalendarId then Exit; end; end; 1 Link to comment Share on other sites More sharing options...
Recommended Posts