Subscribe:

Ads 468x60px

Pages

Monday, April 11, 2011

TDatePicker: Ready to Use XP Style Date Picker

At my previous articles, we've discussed about applying XP style to our VB6 applications. However, there are some controls don't work with XP style such as DateTimePicker, MonthView, etc.

Here is a ready to use XP style date picker. I created this control for about 3 days and sharing it free with you now :) This control named TDatePicker (attention! not TDateTimePicker, I created another control for time picker separately). However, to have it in XP style, you must create manifest file for its executable. Read how to create manifest file to apply XP style.





This control provides many flexible properties to change its appearances. :) You may change its color, button image, header image, etc. It's automatically highlighted when got focus. Day name and month name depend on user's system (Regional and Language Options). You can also set it to automatically send "{TAB}" key by change its SendTabOnKeyEnter property. Say no more, just download it and test it by yourself.


3 komentar:

LM said...

What hapend if press "SPACE" key?!

Sudianto said...

LM, thank you for testing TDatePicker. Yes, an error occurs when press SPACE key. I've fixed this problem and replaced its download link with new version one.

If you've already started a project using old TDatePicker, please edit your project file "sample.vbp" using Notepad/Wordpad. Then replace a whole row contains "Object={...TurboOCX.ocx" with this:
Object={02058323-F607-4B97-8D06-4309C2DF8EB4}#1.0#0; TurboOCX.ocx

Save it and now you can run your project with new version of TDatePicker. Thanks again!

Pepinfarb said...

Wonderful!

Post a Comment