Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2007

Tip: Looking for answers? Try searching our database.

DateTimePicker Fast Data entry problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WoodenSWord - 25 Jan 2007 15:44 GMT
Hello,

When i enter a date in datetimepicker (vb 2005) i have to press to key "/"
or the key right to get from day to month and then to year. That can be a
major drawback for fast data entry. I want to type just the day and the month
and the year.no other characters

Is there anyway to overcome this behaviour with the specific control?
RobinS - 25 Jan 2007 22:01 GMT
Use a masked text box instead.

Robin S.
----------------------------------------------
> Hello,
>
[quoted text clipped - 7 lines]
>
> Is there anyway to overcome this behaviour with the specific control?
WoodenSWord - 26 Jan 2007 10:01 GMT
Thanks for the reply.
A masked text box has this feature but has not a most important. Using
masked textbox there is no validation of date while editing. E.g. the
datetimepicker does not allow you to enter 31/02/2007 and changes this value
when you write the month after day. So, masked textbox is not a better
solution.

> Use a masked text box instead.
>
[quoted text clipped - 11 lines]
> >
> > Is there anyway to overcome this behaviour with the specific control?
Jared - 25 Jan 2007 23:13 GMT
I would try something like form1.keypreview = true and sendkeys to send
tab/arrow or if that doesnt work maybe a addfilter

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.