Click to See Complete Forum and Search --> : Date Picker


Geetika Malik
July 16th, 2001, 12:35 AM
I want to make the fore text colour of the DatePicker as Blue. Please suggest how to change this property.
Thanks

sead
July 16th, 2001, 05:36 AM
Maybe this can be of some help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cmctl298/html/vbprocalendarbackcolorcalendartitleforecolorpropertiesexamplex.asp

HTH

Sead

Geetika Malik
July 17th, 2001, 12:26 AM
Thanks for the prompt reply.
But I am not able to solve my problem. Because the code says:


With DTPicker1
.CalendarBackColor = vbYellow
.CalendarTitleBackColor = vbRed
.CalendarTitleForeColor = vbWhite
.CalendarTrailingForeColor = vbGreen
End With




This code only sets the color settings for the drop-down calender shown on clicking the arrow on the date picker control. But I have to change the color of the selected date shown in the text box after it is selected from the calender.

Thanks