Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - problems with DatePicker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

problems with DatePicker

 Post Reply Post Reply
Author
Message
mario.painsi View Drop Down
Newbie
Newbie


Joined: 20 November 2006
Location: Austria
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mario.painsi Quote  Post ReplyReply Direct Link To This Post Topic: problems with DatePicker
    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.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 25 January 2007 at 5:09pm
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:

Call DatePicker.AttachToCalendar( CalendarObject.Object )


--
WBR,
Serge
Back to Top
jprescott View Drop Down
Newbie
Newbie
Avatar

Joined: 17 January 2007
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jprescott Quote  Post ReplyReply Direct Link To This Post Posted: 29 January 2007 at 10:24am
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.
Back to Top
jprescott View Drop Down
Newbie
Newbie
Avatar

Joined: 17 January 2007
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jprescott Quote  Post ReplyReply Direct Link To This Post Posted: 29 January 2007 at 10:26am
is there a work around?
 
maybe an onclick command that will change the date in the calendar from the datepicker?
Back to Top
jprescott View Drop Down
Newbie
Newbie
Avatar

Joined: 17 January 2007
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jprescott Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2007 at 3:06am
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).
 
Back to Top
minnen View Drop Down
Newbie
Newbie
Avatar

Joined: 18 March 2007
Location: Belgium
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote minnen Quote  Post ReplyReply Direct Link To This Post Posted: 19 March 2007 at 1:12pm
jprescott,
 
I know this is not the right forum. But have you tried to get the panes working in progress?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.152 seconds.