|  | 
| Datepicker attached and DayMetrics | 
| Post Reply   | 
| Author | |
| mkahlert   Newbie     Joined: 26 August 2006 Location: Germany Status: Offline Points: 8 |  Post Options  Thanks(0)  Quote  Reply  Topic: Datepicker attached and DayMetrics Posted: 26 August 2006 at 12:50am | 
| 
   I have a datepicker attached to a calendar control. As soon as the datepicker is attached, the DayMetrics event is no longer firing. If I do not attach, it is working fine... The AskDayMetrics property is set to .T. Is there any way to use the DayMetrics with the calendar attached? I just want to display some special days in the datepicker by a different background color (e.g. weekends and holidays)... I am using: CodeJock Xtreme SuitePro ActiveX 10.2 Microsoft Visual FoxPro 9.0 SP1 Matthias | |
|  | |
| sserge   Moderator Group   Joined: 01 December 2004 Status: Offline Points: 1297 |  Post Options  Thanks(0)  Quote  Reply  Posted: 27 August 2006 at 3:34pm | 
| 
   Hi Matthias, Looks like this is a known bug of a DatePicker and it was already resolved in version 10.3... -- WBR, Serge | |
|  | |
| mkahlert   Newbie     Joined: 26 August 2006 Location: Germany Status: Offline Points: 8 |  Post Options  Thanks(0)  Quote  Reply  Posted: 27 August 2006 at 5:10pm | 
| 
   Sorry, also in version 10.3 it does not work... The DayMetrics event is still not firing as soon as the datepicker is attached to a calendar...   Matthias | |
|  | |
| sserge   Moderator Group   Joined: 01 December 2004 Status: Offline Points: 1297 |  Post Options  Thanks(0)  Quote  Reply  Posted: 28 August 2006 at 3:46pm | 
| 
   Should be ok with it. Haven't you forgot to set wndDatePicker.AskDayMetrics = True? Do you have any sample application where it doesn't work? -- WBR, Serge | |
|  | |
| mkahlert   Newbie     Joined: 26 August 2006 Location: Germany Status: Offline Points: 8 |  Post Options  Thanks(0)  Quote  Reply  Posted: 28 August 2006 at 10:41pm | 
| 
   Sorry, yes, you are right... it was my fault... It's not easy moving to a new version of the controls in Visual FoxPro, because all the code and all the properties have to be moved and copied by hand... It is working now, thanks! Matthias  | |
|  | |
| TracyP   Groupie   Joined: 16 February 2006 Status: Offline Points: 22 |  Post Options  Thanks(0)  Quote  Reply  Posted: 29 August 2006 at 9:40am | 
| 
   Visual FoxPro is that way. You can easily open the the form/classlib as a dbf and copy/paste the Method and Properites fields from one to the next. Glad to see another VFP'er using this control.  | |
|  | |
| siva   Newbie   Joined: 04 September 2006 Status: Offline Points: 5 |  Post Options  Thanks(0)  Quote  Reply  Posted: 07 September 2006 at 1:21am | 
| 
   I just want to display some special days in the calendar control by a different background color (e.g. weekends and holidays)...
 Am using  Codejock calendar 10.3 version | |
|  | |
| 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 |