Print Page | Close Window

PatternChanged

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=8158
Printed Date: 27 November 2024 at 3:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PatternChanged
Posted By: Fabian
Subject: PatternChanged
Date Posted: 25 September 2007 at 8:02am
Hi
 
I use the event PatternChanged since the first release of the Calendar control. In newer versions I miss this event in the object catalog of VB6 and in the documentation. Does anybody know if this this event was replaced by an other one???
 
Thanks
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Replies:
Posted By: sserge
Date Posted: 01 October 2007 at 7:03pm
Hi Fabian,

For now this event is outdated and currently left working only for compatibility purposes.

Instead you should use event EventChangedEx, where a second parameter is a pointer to a corresponding Pattern.

--
WBR,
Serge


Posted By: Fabian
Date Posted: 10 October 2007 at 11:10am
Hi serge
 
Using 11.1, I do not find the reference to a pattern object, mentioned in your answer???
 
Thanks
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: sserge
Date Posted: 10 October 2007 at 6:18pm
Correct type name: CalendarRecurrencePattern

--
WBR,
Serge


Posted By: Fabian
Date Posted: 11 October 2007 at 1:54am
Hi Serge
 
May be, but I found only1 parameter, the Event in EventChangedEx???
 
Thanks
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: sserge
Date Posted: 14 October 2007 at 4:47pm
Fabian,

Sorry, I've incorrectly expressed myself. Inside this event you can access a pattern via its regular properties. An example below:

Private Sub CalendarControl_EventChangedEx(ByVal pEvent As XtremeCalendarControl.CalendarEvent)
    MsgBox pEvent.RecurrencePattern.Id
End Sub


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