Print Page | Close Window

SelectViewEvent

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


Topic: SelectViewEvent
Posted By: dmsa
Subject: SelectViewEvent
Date Posted: 28 March 2009 at 9:22am
 
Hi All,
I found this old post on google, along with a reply from Serg saying it will be added in the next release.
Can you tell me if it is now posible?
 
 
I ‘m trying  to use the "SelectViewEvent" method without using the "HitTest" method.  Is that possible?
I wish to use the Event object directly.
I have tested the following code:
XtremeCalendar>>ActiveView>>SelectViewEvent(Even t>>ID,True)

But that does not work at all!

Is there any way to select an event during planning loading?

Replies:


Posted By: sserge
Date Posted: 25 January 2006 at 9:40am


Hi,

Unfortunately in the current version this is not possible. We will add such functionality for the next release.

--
WBR,
Serge



-------------
Mk



Replies:
Posted By: mdoubson
Date Posted: 28 March 2009 at 8:23pm

There is a function

BOOL CXTPCalendarControl::SelectEventById(DWORD dEventID)

and it's interface in ActiveX SelectEventByID
DISP_FUNCTION_ID(CCalendarControlCtrl, "SelectEventByID", 180, OleSelectEventByID, VT_EMPTY, VTS_I4)
but you need to know dEventID - means you need to query your database (or parse your data file) to find it using some data you know about this event


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


Posted By: dmsa
Date Posted: 29 March 2009 at 1:57pm
Many thanks Mark, that works a treat

-------------
Mk


Posted By: mdoubson
Date Posted: 29 March 2009 at 11:38pm
Good - this is new function I made in ver 13.0 - for advanced user...

-------------
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