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 

Using TDateTime component...

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
Luigi Puleio
Guest





PostPosted: Thu Feb 23, 2006 11:03 am    Post subject: Using TDateTime component... Reply with quote



Hello everyone...

I'm using a TDateTime component in a project as dkDate...I've figured I
can select date from dropdown calendar. But if, for example, I
increment/decrement day by pressing up/down key it is true it should
increment automatically also month and year when I'm at end/first of
month/year?

If not, do you have a suggest about making incrementing/decrementing
real date when using UP/DOWN button?

You see, I've tried to implement OnKeyDown/OnKeyUp event but it doesn't
work really good because it fires an event internally which
increments/decrements too the single value....

Thanks a lot in advance.
Ciao,
Luigi
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Feb 23, 2006 7:03 pm    Post subject: Re: Using TDateTime component... Reply with quote



"Luigi Puleio" <luigi.puleio (AT) areaweb (DOT) it> wrote in message
news:43fd85cd (AT) newsgroups (DOT) borland.com...

Quote:
I'm using a TDateTime component in a project as dkDate...
I've figured I can select date from dropdown calendar.

Use a TDateTimePicker component for that.

Quote:
But if, for example, I increment/decrement day by pressing
up/down key it is true it should increment automatically also
month and year when I'm at end/first of month/year?

If you are using a TDateTimePicker, then yes, that is true.

Quote:
You see, I've tried to implement OnKeyDown/OnKeyUp event
but it doesn't work really good because it fires an event internally
which increments/decrements too the single value....

Please clearify. What EXACTLY are you having a problem with?


Gambit
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) 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.