AttachToCalendar |
Post Reply |
Author | ||
jprescott
Newbie Joined: 17 January 2007 Location: United Kingdom Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 17 January 2007 at 3:39am |
|
we're using progress openedge and got most of this to work except for the attachtocalendar... currently both the datepicker and calendarcontrol are on the same frame but the following doesn't workchx = chCalendarControl.
chDatePicker:DatePicker:AttachToCalendar(chx). chCalendarControl and chDatePicker are both com-handles for both products....the most bizarre thing is that it initially did work with the evaluation product but once we purchased it and re-inserted the full unlimited version of the ocx's we then started getting problems...any ideas? as far as i know this is the original code and no one has changed it...
|
||
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
|
AttachToCalendar() implementation receives IDispatch pointer to some object - CalendarControl or some auxiliary object.
To be sure, implementation calls QueryInterface(IID_DCalendarControl) for this object to retrieve _DCalendarControl. CalendarControl is a class with default interface _DCalendarControl. VB, for example, uses CalendarControl instead of _DCalendarControl. NOTE: For a case when Calendar is not inserted directly, but some wrapper class is used (like in Access or C#) you have to retrieve pointer to CalendarControl object from the wrapper object. For example in Access I have to call:
in C#:
Something similar should work for Progress Openedge. -- WBR, Serge |
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |