Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21237

DTPicker Custom Time Format

$
0
0
Hi! Would you please help me with the following problem?

I want the DTPicker to only allow selection of time in the format of 'hours:minutes AM/PM'.

Since the Format '2 - dtpTime' also includes seconds, I've set the Format to '3 - dtpCustomer' and CustomFormat to 'h:mm tt'.

However, the dropdown button is still available when the form is loaded, so by clicking it, a calendar is displayed.

And I don't want that to happen.

Is it possible to get rid of the 'seconds' and still make DTPicker behave like dtpTime selection?
What would you suggest me to do?

Any help would be appreciated!

Thank you very much!

Viewing all articles
Browse latest Browse all 21237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>