Ehance date time picker to allow backcolor to be set


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.7K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
When implementing a required fields marker, I have it set the back color to indicate to the user that the field is required. This does not work with the DateTimePicker. While it does have a BackColor, it does nothing.



I've found a link with one way to handle this. I could, of course just subclass the DateTimePicker to do this. However, since others might need the same functionality, I thought I'd throw it out as a possible framework enhancement. Here is the link:



http://www.tek-tips.com/faqs.cfm?fid=5566



This one has just the relevant code, in the last post:



http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=252920&SiteID=1



Thanks!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search