Print Page | Close Window

Calendar Reminder Event

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=6891
Printed Date: 23 November 2024 at 6:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Calendar Reminder Event
Posted By: pv-amadeus
Subject: Calendar Reminder Event
Date Posted: 17 April 2007 at 3:18am
Hi,
 
I'm having problems with Reminders. Did I understand this correctly ?
 
When I enable Reminders in the CalendarControl with:
CalendarControl.EnableReminders(True)
 
and my event has:
ptrEvent.Reminder = True
ptrEvent.ReminderMinutesBeforeStart = 5
 
I assumed that the CalendarControl.Reminder Collection should hold the new Reminder. But the CalendarControl.Reminder.Count is 0.
 
The Reminder Event is then fired at the right time, but the "e.reminder is Nothing" ?!?
 
Any Idea what I'm doing wrong ?
 
we use the trial version of 10.4.2 Calendar Control
 
THX for explanations
Patrick
 
PS: By accident I postet this one also in the c++ forum a while ago (without answers). sorry for that.



Replies:
Posted By: sserge
Date Posted: 17 May 2007 at 4:50pm
OnReminders event has 2 parameters:
    Action
    Reminder
 
There are a few actions listed below fro which Reminder parameter is Null:
 
    xtpCalendarRemindersMonitoringStarted
    xtpCalendarRemindersMonitoringStopped     
 
    xtpCalendarReminderDismissedAll
 
    xtpCalendarRemindersFire - mean that CalendarControl.Reminders collection changed or its item(s) changed
 
Use CalendarControl.Reminders to get active reminders.

--
WBR,
Serge



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