CodeProject - gTimePicker- Control to Pick a Time Value (VB.NET)
“Stop using the DateTimePicker for time values, this control makes it easy to pick a time, and if you act now, get the matching Nullable gDateTimePicker at no extra cost.
I couldn't put up with the standard time part of the
DateTimePicker
any longer. I wanted an easy to use date dropdown and a non-existent time dropdown. First, I made thegTimePickerCntrl
to pick the time in a couple of clicks using a clock-like interface. Second, I needed a dropdown control to contain it. Third, the developer in me needed the extra design-time support.After making the
gTimePicker
, I realized I needed a nullable DateTimePicker to go with it. Now, I have added thegDateTimePicker
and added a nullable feature to thegTimePicker
.How to Use the gTimePickerCtrl
Very simple - click a number in the inner ring for the hour. Click a number from the outer ring for minutes in five minute increments. Click the bottom row for minutes in between the five minute increments.
…”
I like that. I’ve also fought the DateTimePicker Time entry battle and like this approach. An analog look is a logical metaphor to use when picking a time. That and I like supporting VB.Net projects… ;)
As you can see from the zip, it’s not a simple or minor project…
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...