Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Fullday recursive events fail
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Fullday recursive events fail

 Post Reply Post Reply
Author
Message
jortola View Drop Down
Groupie
Groupie
Avatar

Joined: 17 June 2008
Location: Spain
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jortola Quote  Post ReplyReply Direct Link To This Post Topic: Fullday recursive events fail
    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?
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2008 at 4:25pm
Hi,

Please explain steps to regenerate the said problem.

cant see the events failure as explained.
Back to Top
jortola View Drop Down
Groupie
Groupie
Avatar

Joined: 17 June 2008
Location: Spain
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jortola Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jortola View Drop Down
Groupie
Groupie
Avatar

Joined: 17 June 2008
Location: Spain
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jortola Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2008 at 5:53am
Here is a image showing the problem:
 
Back to Top
jortola View Drop Down
Groupie
Groupie
Avatar

Joined: 17 June 2008
Location: Spain
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jortola Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2008 at 10:47am
It seems to be a calendar generic failure, does codejock members plan to solve it?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jortola View Drop Down
Groupie
Groupie
Avatar

Joined: 17 June 2008
Location: Spain
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jortola Quote  Post ReplyReply Direct Link To This Post 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...

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jortola View Drop Down
Groupie
Groupie
Avatar

Joined: 17 June 2008
Location: Spain
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jortola Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jortola View Drop Down
Groupie
Groupie
Avatar

Joined: 17 June 2008
Location: Spain
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jortola Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.