Re: Date Time Picker custom format property ?



Hi Ron,

It works perfectly. Thank you. It was especially good of you to
include the MSDN URL's since, in reading through those, I learned I
could use h:mm tt to have it also show the AM or PM.

Best Regards,
Walt Weber

Ron de Bruin wrote:
> Hi Walt
>
> Set Custom to 3 - dtpCustom and CustomFormat to h:mm to display time
> And Updown to True in the properties
>
> More info on MSDN
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/datetime/datetime.asp
> and
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/datetime/reflist.asp
>
>
>
>
>
>
> --
> Regards Ron de Bruin
> http://www.rondebruin.nl
>
>
>
> "Walt" <xlsWalt@xxxxxxx> wrote in message
news:6BB05597-3D14-4810-9CCD-A621ACE2E3CA@xxxxxxxxxxxxxxxx
> > Hi Ron,
> >
> > Thanks for responding and for the consideration. I'll be watching
for any
> > further posts on the subject.
> >
> > Best Regards,
> > Walt Weber
> > xlswalt.dontspamplease@xxxxxxx
> >
> > "Ron de Bruin" wrote:
> >
> >> Hi Walt
> >>
> >> Strange
> >>
> >> No help on this, I try it on a English and Dutch system.
> >> I try to get a answer for you
> >>
> >> --
> >> Regards Ron de Bruin
> >> http://www.rondebruin.nl
> >>
> >>
> >>
> >> "Walt" <xlsWalt@xxxxxxx> wrote in message
news:F4FF8186-72DF-4A6C-AFD5-9E502A330D9E@xxxxxxxxxxxxxxxx
> >> > Hi,
> >> >
> >> > I'm trying to use the Date Time Picker control as a time picker
and only
> >> > want hours and minutes to show. Can this be done with its
custom format
> >> > property (Example please if so)? The usual number formating
string doesn't
> >> > seem to work and I'm having trouble finding guidance in the help
system.
> >> >
> >> > Thanks in advance.
> >> >
> >> > Best Regards,
> >> > Walt Weber
> >>
> >>
> >>

.