how can i change the textcolor of the datetime picker from code?
xanawa
-3
Junior Poster
Recommended Answers
Jump to PostAccording to MSDN :
Setting the BackColor has no effect on the appearance of the DateTimePicker.
You need to write a custom control that extends DateTimePicker. Override the BackColor property and the WndProc method.
Whenever you change the BackColor, don't forget to call the myDTPicker.Invalidate() method. This …
All 4 Replies
Mitja Bonca
557
Nearly a Posting Maven
abelLazm
183
Postaholic
ddanbe
2,724
Professional Procrastinator
Featured Poster
xanawa
-3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.