Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Calendar : Multiple CalendarEvent same time

    Hy, how to show multiple CalendarEvent defined at same start and stop date ?
    By default, if run :
    Code:
    CalendarEvent ce[] = new CalendarEvent[]{  
    	                new CalendarEvent(1, "Meeting", "Shareholders meeting: monthly forecast report", new Date(year, month, start + 2, 9, 0, 0), new Date(year, month, start + 2, 14, 0, 0)),  
    	                new CalendarEvent(2, "Meeting SAME", "SAME meeting: monthly forecast report", new Date(year, month, start + 2, 9, 0, 0), new Date(year, month, start + 2, 14, 0, 0))
    	        };
    You will only show the last declared CalendarEvent "Meeting SAME" (at top, upper, superimposed, overlay), if you move or close it, you will able to show under the first declared CalendarEvent "Meeting".

    There is a method to change something can be use to be distinct the multiples superimposed CalendarEvents ?

    #2
    New support has been added for addressing such usecases in SVN. Look for the following API's in the Calendar class.

    setEventOverlap
    setEventAutoArrange
    setEventOverlapPercent
    setEventOverlapIdenticalStartTimes

    Comment

    Working...
    X