• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 408
  • Last Modified:

VB.net DateTimePicker - still date dropdown

Hi

I have put a DateTimePicker on my Windows Form and set the format to Time
When I click on the dropdown it still brings up a calendar. Is there a way to change this
so that the user can only select the time?

Thanks
0
Murray Brown
Asked:
Murray Brown
2 Solutions
 
jpaulinoCommented:
Set the ShowUpDown property to True
0
 
raysonleeCommented:
datetimepicker1.Format = DateTimePickerFormat.Custom
datetimepicker1.CustomFormat = "HH:mm"
datetimepicker1.ShowUpDown = True
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thanks very much
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now