Lebans Calendar Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been using Stephen Lebans MonthCalendar for a while now and Its great,
but would like to know if it is possible to change a few things.

1. Can the Properties menu be disabled?
2. Can the Show Today message on the bottom of the window be changed from
'Today: 12/14/2004' to 'Today: 14-Dec-04'?

Unfortunately I am not smart enough to look through the source code to make
these changes myself.

Any help would be greatly appreciated.

Thanks,

Tom
 
Hi Tom,
I have to ask why you want to remove the Properties Menu. I spent a lot
of hours coding this menu to enable the user to setup the Calendar to
their individual tastes.

AFAIK you cannot change the format of the Today string. I'm not even
sure if it corresponds to your Windows settings for displaying of the
date. Try to change it there first and see if it is reflected in the
Calendar.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Hi Stephen,

Thanks for replying to my question.

I developed a simple databases for production reporting at our manufacturing
plant and several users were using the sample computer and database for
entering production data. One particular user was playing around with the
various property menu settings andmade it difficult for a non-computer savvy
supervisor to enter the date. This is the only reason why I want to control
the menu.

As far as the second question.. I changed my short date format through my
control panel (Regional and Language Options) to the desired dd-mmm-yy format
and it was reflected prpoerly in the Calendar window.

Thanks for your help

Merry Christmas

Tom
 
Tom rather than me having to produce a seperate version of the
MonthCalendar class why don't you simply set the Calendar properites as
desired prior to opening the Claendar window. All of the properties in
the Menu are exposed in the class. So before your call to
ShowMonthCalendar do something like:
mc.MonthRows = 2
mc.MonthColumns = 2
mc.whatever = whateveryouwant.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Stephen,

I apologize, I did not realize the properties can be set this way. Thanks
again you have been a great help!

Tom
 
Back
Top