BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OnClick in TMonthCalendar

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
Christian Kaufmann
Guest





PostPosted: Fri Oct 24, 2003 11:45 pm    Post subject: OnClick in TMonthCalendar Reply with quote



Hi,

I would like to track the OnClick event in a TMonthCalendar only, if a
day is clicked and not the arrows, month or year at the top.

Why is it not possible to type in a year in the year field ?

Why can't I navigate with the arrow keys ?

Perhaps, there is a better control for a calender than from ComCtrl.
Any suggestions? I prefere just this control, not another huge
thirdparty package with hundreds of controls and features, even if it
is free.

cu Christian
Back to top
Christian Kaufmann
Guest





PostPosted: Sat Oct 25, 2003 8:49 am    Post subject: Re: OnClick in TMonthCalendar Reply with quote



Quote:

Can you use the TDateTimePicker instead? This doesn't have some of the
limitations of the TMonthCalendar.

Yes, but I have an own descendant of TCustomEdit to edit a date with
certain other behaviour I would like to keep. And I have the lookup
functionality there. So a better calendar control would be perfect.

cu Christian

Back to top
Guest






PostPosted: Thu Nov 13, 2003 5:18 am    Post subject: Re: OnClick in TMonthCalendar Reply with quote



How about TCalendar? You've got the source code for that so you could add
those keypress event you're looking for if not there.

P.S. yes, there are tons of freeware calendars similar to that. They all
have different features so maybe you'll be looking for a long time for the
one with exact features you need. I use the one with TMS suite and it's got
all the bells and whistles, so no problem. I would tweak the TCalendar if I
just needed some simple improvements.


"Christian Kaufmann" <christian.kaufmann (AT) gmx (DOT) net> wrote

Quote:

Can you use the TDateTimePicker instead? This doesn't have some of the
limitations of the TMonthCalendar.

Yes, but I have an own descendant of TCustomEdit to edit a date with
certain other behaviour I would like to keep. And I have the lookup
functionality there. So a better calendar control would be perfect.

cu Christian



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.