problems with DatePicker |
Post Reply |
Author | |
mario.painsi
Newbie Joined: 20 November 2006 Location: Austria Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 25 January 2007 at 10:55am |
Hello ! We have problems to attach the Datepicker to the Calender. when we say Call DatePicker.AttachToCalendar( Object ), he want a object (DCalendar_Control).
But our Calendar is not a DCalendar_Control.
What can we do to attach the datepicker to the calendar ?
thanks for your help.
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi Mario,
It depends on the environment which you do use. In some languages your DatePicker is not a regular COM object, but a kind of a wrapper on it built by the environment. In such a case you have to write something like:
-- WBR, Serge |
|
jprescott
Newbie Joined: 17 January 2007 Location: United Kingdom Status: Offline Points: 4 |
Post Options
Thanks(0)
|
i'm still having this problem as well in Progress, although most of the other issues you have cleared up (so thanks serge!)
the message coming back states "No such interface is supported" i've tripled checked everything and most of the other stuff i've gotten to work - but what's strange is that this worked with the evaluation version of the ocx's.
|
|
jprescott
Newbie Joined: 17 January 2007 Location: United Kingdom Status: Offline Points: 4 |
Post Options
Thanks(0)
|
is there a work around?
maybe an onclick command that will change the date in the calendar from the datepicker?
|
|
jprescott
Newbie Joined: 17 January 2007 Location: United Kingdom Status: Offline Points: 4 |
Post Options
Thanks(0)
|
got a work around sorted
in the onclick of datepicker
DEF VAR vdate AS DATE NO-UNDO.
vdate = chdatepicker:datepicker:SELECTION(0):datebegin.
chcalendarcontrol:calendarcontrol:dayview:showday(STRING(vdate),TRUE).
|
|
minnen
Newbie Joined: 18 March 2007 Location: Belgium Status: Offline Points: 11 |
Post Options
Thanks(0)
|
jprescott,
I know this is not the right forum. But have you tried to get the panes working in progress?
|
|
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 |