PDA

View Full Version : Datepicker (BoldDaysWithEvents)



Ditte
30-Jul-2009, 06:22 PM
Hi,

thereīs a calendar with a custum "Embedded" database.
If I open the calendar I can see all events.
I like to see in bold all days with a event in the attach datepicker.
It works if I one time open the calendardialog or I click on the corner of the calendarview and make a litte changes of size.
After them, all days in the datepicker with events are bold.
What must I call?
Iīve send the comRedrawControl.
The property BoldDaysOnIdle is true.
If I use the VB6 sample of CJ it works fine. Iīve found no differences.
Iīve tested the SigCj samples. It doesnīt work at me (BoldDaysOnIdle).
Maybe I must send a refresh?
Refresh on Calendarobject donīt work.
Refresh on Datepicker donīt work.
The contact to the support of donīt help.
In Vb6 it works, maybe a problem of VDF??
Which refresh will be called if make changes on the size of a view?

Ditte
31-Jul-2009, 01:50 AM
Hi,
to reconstruct what I mean.
Open the very good CodeJock Order Entry sample (I use at moment the VDF15.0,CJ13.1 with last update from 21.07.09).
Open the standard calendar. If you have no events inside, create a new event. Close the calendar again. You can wait a long time, but the days ith events in the datepicker will be not bold.
Now click on the vertical scroll bar of the property grid. The day with event will be bold.
Now change the date one week further, create a new event. The day with this event will be bold if you click on the scrollbar of property grid or if you change the size of the view.