![]() |
Chaging the format of a day in a DatePicker |
Post Reply ![]() |
Author | |
EMoscosoCam ![]() Newbie ![]() Joined: 15 August 2006 Location: Peru Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() Posted: 11 October 2006 at 7:32pm |
Is it possible to change the forecolor or the background color of a given date within the DatePicker control?
Something like:
DatePicker1.Date("2005-10-01").BackColor=RGB(200,10,20)
Thanks a lot.
|
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Yes, that's possible, but not in this way. Look at our DatePickerSample application and check "Customize Special Days" box. As you can see, it works by enabling DayMetrics notification and handling it. Example for your case:
-- 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 |