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
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
raysonleeCommented:
datetimepicker1.Format = DateTimePickerFormat.Custom
datetimepicker1.CustomFormat = "HH:mm"
datetimepicker1.ShowUpDown = True
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
Set the ShowUpDown property to True
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thanks very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.