Print Page | Close Window

Fullday recursive events fail

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=11073
Printed Date: 18 July 2025 at 10:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Fullday recursive events fail
Posted By: jortola
Subject: Fullday recursive events fail
Date Posted: 17 June 2008 at 7:38am
When I add a recursive full-day event and i change the view to week or workweek view the event shows like:
 
{EVENT}       {EVE      {E       {E       {E      {E     {E
 
It seems that is filled each column with a non visible char, the 2nd colum with 1, the 3rd column with 2 chars and so...
 
Any ideas about how to solve this problem?



Replies:
Posted By: joeliner
Date Posted: 19 June 2008 at 4:25pm
Hi,

Please explain steps to regenerate the said problem.

cant see the events failure as explained.


Posted By: jortola
Date Posted: 23 June 2008 at 3:48am

- Office XP theme

- Recursive events fullday with reminders on
 
- WeekView
 
After fullday recursive event is added, just resize the window and you'll see that the event subject changes its size like {EVENT} {EVEN {E {E {E
for each day in weekview.
 
Try it.. i've reproduced the failure also in the test app you provide as example.


Posted By: jortola
Date Posted: 01 July 2008 at 5:53am
Here is a image showing the problem:
 
http://www.ngaro.es/tmp/calendar.png - http://www.ngaro.es/tmp/calendar.png ">


Posted By: jortola
Date Posted: 07 July 2008 at 10:47am
It seems to be a calendar generic failure, does codejock members plan to solve it?


Posted By: sserge
Date Posted: 09 July 2008 at 5:07pm
In this state, try disabling Office 2007 theme - and you'll see that this empty space is used for drawing "reminder" icon. An appropriate icon doesn't exists in current Office 2007 theme -- that's the reason of the problem. It should be added, which will solve the issue.

--
WBR,
Serge


Posted By: jortola
Date Posted: 11 July 2008 at 7:59am

Aha.. And how can I add the normal theme reminder icon for the office theme? I've tryed:

((CalendarThemeOffice2007Class)wndCalendarControl.Theme).WeekView.Day.SingleDayEvent.EventIconsToDraw.ShowReminder = false;

((CalendarThemeOffice2007Class)wndCalendarControl.Theme).WeekView.Event.EventIconsToDraw.ShowReminder = false;

With same results...



Posted By: SuperMario
Date Posted: 11 July 2008 at 10:49am
Think he meant something like this:

Dim objThemeOfice2007 As CalendarThemeOffice2007
Set objThemeOfice2007 = CalendarControl.Theme

If objThemeOfice2007 Is Nothing Then Exit Sub

' add custom icons with special IDs to use them instead of standard
' see also PrePopulate event handler

objThemeOfice2007.CustomIcons.LoadBitmap App.Path & "\Icons\Reminder.bmp", xtpCalendarEventIconIDReminder, xtpImageNormal
objThemeOfice2007.CustomIcons.LoadBitmap App.Path & "\Icons\Occ.bmp", xtpCalendarEventIconIDOccurrence, xtpImageNormal
objThemeOfice2007.CustomIcons.LoadBitmap App.Path & "\Icons\Exc.bmp", xtpCalendarEventIconIDException, xtpImageNormal
objThemeOfice2007.CustomIcons.LoadBitmap App.Path & "\Icons\Private.bmp", xtpCalendarEventIconIDPrivate, xtpImageNormal
       

Private Sub CalendarControl_PrePopulate(ByVal ViewGroup As XtremeCalendarControl.CalendarViewGroup, ByVal Events As XtremeCalendarControl.CalendarEvents)
 
    Dim pEvent As CalendarEvent
    Dim strData As String
   
    For Each pEvent In Events
       
        pEvent.CustomIcons.RemoveAll
                 
        ' customize standard icons
        If pEvent.PrivateFlag Then
            pEvent.CustomIcons.Add xtpCalendarEventIconIDPrivate
        End If
       
        If pEvent.Reminder Then
            pEvent.CustomIcons.Add xtpCalendarEventIconIDReminder
        End If
       
        If pEvent.RecurrenceState = xtpCalendarRecurrenceOccurrence Then
            pEvent.CustomIcons.Add xtpCalendarEventIconIDOccurrence
        End If
       
        If pEvent.RecurrenceState = xtpCalendarRecurrenceException Then
            pEvent.CustomIcons.Add xtpCalendarEventIconIDException
        End If
    Next
End Sub


Posted By: jortola
Date Posted: 14 July 2008 at 6:23am
No way. I've added the reminder icon but It doesn't appear in the all-day events cell so the problem is still not solved.


Posted By: jortola
Date Posted: 17 July 2008 at 7:46am
Im sorry to insist so much, but I need to know if the problem has any solution or is a calendar failure...



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net