DateTimePicker time-only

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi,

In a DateTimePicker, if I want to show only time, I used to use the following settings:

dt.Format = DateTimePickerFormat.Custom;
dt.CustomFormat = “HH:mm”;
dt.ShowUpDown = true;

The UpDown arrows do not seem to work.

I tried the recommendation for WinForms:

dt.Format = DateTimePickerFormat.Time;
dt.ShowUpDown = true;

with or without the CustomFormat setting.

UpDown arrows still do not work.

Additionaly, it would be nice to be able to not show the calendar icon in the DateTimePicker textbox (which is meaningless in a Time-only picker), either with a ShowCalendar = false setting, or by default if DateTimePickerFormat.Time is set.

This is with version 1.2.62 and the Classic-2 theme.

Best,

Alex

  • You must to post comments
0
0

Hi Alex,

the bug has been fixed, the requested feature added. (Both in 1.2.63).

Best regards
Frank

  • You must to post comments
0
0

Thanks Alex.

Logged as a bug WJ-7610 and enhancement request WJ-7611.

Best regards
Frank

  • You must to post comments
Showing 2 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json