Print Page | Close Window

Update a event from a

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=15257
Printed Date: 06 October 2024 at 7:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Update a event from a
Posted By: Ditte
Subject: Update a event from a
Date Posted: 28 September 2009 at 10:31am
Hi,

it would be nice to get some help.

I have a calendar "Provider=custom".  The calendar is always open on screen. At opening all events will be loaded.
From time to time some events will be changed, moved, created and also deleted. In the database this events get a changed state marker.
A timer will look at the marker and should make changes if the marker is true. In the database is the Id of all the events saved.
No I could search for the id (I only found a SelectEventByID).
I donīt like refresh all events, it take a long time.
Has somebody a way, how I can do it?



-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1



Replies:
Posted By: Ditte
Date Posted: 29 September 2009 at 12:10pm
Iīve a solution.

GetEvent (Retrieves an event by using the XtremeCalendarControl%7ECalendarEvent%7EId.html - ID of the event)



-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1


Posted By: mdoubson
Date Posted: 29 September 2009 at 7:26pm
In 13.2 I improved this function - CalendarControl.SelectEventByID #OfEvent
It support mutli-schedules case, Find ViewEvent and EnsureVisible of founded ViewEvent (including Scrollbar move to show event in invisible schedules)
 
I also add new function CalendarControl.DayView.ScrollToColumn #OfSchedule


-------------
Mark Doubson, Ph.D.



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