customize month names in DateTimePicker Control 
Author Message
 customize month names in DateTimePicker Control

Hi,

I would like to customize the month names in the
DateTimePicker control. I receive the month names out of
a ProcessComputer so I must show them exactly on the
DateTimePicker Control. Now I display the month names in
the format, like:
DateTimePicker.customFormat = "12-monthname-2000"
But the problem is that if you use the 'dropdown - month
calendar' the months received from the system are
displayed. So my question is if there is any possibility
to customize the month names for the whole control, like
passing an array with month names ?

thanks, greetings Koert.



Tue, 26 Apr 2005 02:21:34 GMT  
 customize month names in DateTimePicker Control
Hey Koert:

I don't think you can.  The event which adjusts for what the user clicked on
and respond accordingly, is internal to the control.


Quote:
> Hi,

> I would like to customize the month names in the
> DateTimePicker control. I receive the month names out of
> a ProcessComputer so I must show them exactly on the
> DateTimePicker Control. Now I display the month names in
> the format, like:
> DateTimePicker.customFormat = "12-monthname-2000"
> But the problem is that if you use the 'dropdown - month
> calendar' the months received from the system are
> displayed. So my question is if there is any possibility
> to customize the month names for the whole control, like
> passing an array with month names ?

> thanks, greetings Koert.



Tue, 26 Apr 2005 04:34:26 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DateTimePicker and other controls from Windows Common Controls-2 6.0

2. Control Similar to Datetimepicker control

3. Translates name of month in Papiamentu

4. Translates name of month in Papiamentu (Language on Aruba, Bonaire and Curacao)

5. Sorting Month Names

6. Getting a month name from a date

7. Month name

8. Names of the month in CR 7

9. Naming for class methods conflicts with built-in vb functions (month/date)

10. How to customize the dialog box "select names"/addressbook

 

 
Powered by phpBB® Forum Software